Poprawki filtrów

This commit is contained in:
2022-04-27 21:31:12 +02:00
parent 199d42aeb2
commit bd1b206453
3 changed files with 10 additions and 2 deletions
@@ -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;
+1 -1
View File
@@ -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;
-1
View File
@@ -175,7 +175,6 @@ export default defineComponent({
.wrapper {
display: flex;
justify-content: center;
padding: 0 0.5em;
}
.body {