mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
chore(scenery): added checkbox for switching thumbnails display (wip)
This commit is contained in:
@@ -28,6 +28,16 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
name="show-stock-thumbnails"
|
||||||
|
id="show-stock-thumbnails"
|
||||||
|
v-model="showStockThumbnails"
|
||||||
|
/>
|
||||||
|
<label for="show-stock-thumbnails">POKAZUJ PODGLĄDY SKŁADÓW</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="list-container">
|
<div class="list-container">
|
||||||
<transition-group name="list-anim" tag="ul">
|
<transition-group name="list-anim" tag="ul">
|
||||||
<li
|
<li
|
||||||
@@ -294,7 +304,7 @@ const sceneryTimetables: ComputedRef<SceneryTimetableRow[]> = computed(() => {
|
|||||||
|
|
||||||
.scenery-timetable-list {
|
.scenery-timetable-list {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto auto 1fr;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user