mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawki filtrów
This commit is contained in:
@@ -349,6 +349,7 @@ section.station_table {
|
||||
|
||||
.table_wrapper {
|
||||
overflow: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
table {
|
||||
@@ -356,6 +357,14 @@ table {
|
||||
border-collapse: collapse;
|
||||
min-width: 1350px;
|
||||
|
||||
@include smallScreen() {
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
thead tr {
|
||||
background-color: $primaryCol;
|
||||
}
|
||||
|
||||
thead th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
@@ -82,7 +82,7 @@ const filterStations = (station: Station, filters: Filter) => {
|
||||
if (filters['abandoned'] && station.generalInfo.abandoned) return returnMode;
|
||||
|
||||
if (station.generalInfo.default && filters['default']) return returnMode;
|
||||
if (!station.generalInfo.default && filters['notDefault'] && (!station.generalInfo.abandoned && !station.generalInfo.unavailable)) return returnMode;
|
||||
if (!station.generalInfo.default && filters['notDefault'] && !station.generalInfo.abandoned) return returnMode;
|
||||
|
||||
if (filters['real'] && station.generalInfo.lines != '') return returnMode;
|
||||
if (filters['fictional'] && station.generalInfo.lines == '' && (!station.generalInfo.abandoned && !station.generalInfo.unavailable)) return returnMode;
|
||||
|
||||
@@ -175,7 +175,6 @@ export default defineComponent({
|
||||
.wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
.body {
|
||||
|
||||
Reference in New Issue
Block a user