diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index a79b448..247c85b 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -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; diff --git a/src/scripts/managers/stationFilterManager.ts b/src/scripts/managers/stationFilterManager.ts index 781a61a..4550f29 100644 --- a/src/scripts/managers/stationFilterManager.ts +++ b/src/scripts/managers/stationFilterManager.ts @@ -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; diff --git a/src/views/StationsView.vue b/src/views/StationsView.vue index 8a70144..eb9e77d 100644 --- a/src/views/StationsView.vue +++ b/src/views/StationsView.vue @@ -175,7 +175,6 @@ export default defineComponent({ .wrapper { display: flex; justify-content: center; - padding: 0 0.5em; } .body {