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 {
|
.table_wrapper {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
@@ -356,6 +357,14 @@ table {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
min-width: 1350px;
|
min-width: 1350px;
|
||||||
|
|
||||||
|
@include smallScreen() {
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead tr {
|
||||||
|
background-color: $primaryCol;
|
||||||
|
}
|
||||||
|
|
||||||
thead th {
|
thead th {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ const filterStations = (station: Station, filters: Filter) => {
|
|||||||
if (filters['abandoned'] && station.generalInfo.abandoned) return returnMode;
|
if (filters['abandoned'] && station.generalInfo.abandoned) return returnMode;
|
||||||
|
|
||||||
if (station.generalInfo.default && filters['default']) 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['real'] && station.generalInfo.lines != '') return returnMode;
|
||||||
if (filters['fictional'] && station.generalInfo.lines == '' && (!station.generalInfo.abandoned && !station.generalInfo.unavailable)) return returnMode;
|
if (filters['fictional'] && station.generalInfo.lines == '' && (!station.generalInfo.abandoned && !station.generalInfo.unavailable)) return returnMode;
|
||||||
|
|||||||
@@ -175,7 +175,6 @@ export default defineComponent({
|
|||||||
.wrapper {
|
.wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
|
|||||||
Reference in New Issue
Block a user