mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 13:58:12 +00:00
responsywność
This commit is contained in:
@@ -144,12 +144,14 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.general-train {
|
.general-train {
|
||||||
cursor: pointer;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
gap: 0.25em;
|
gap: 0.25em;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
line-height: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-timetable {
|
.btn-timetable {
|
||||||
|
|||||||
@@ -57,14 +57,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="extended">
|
<div v-if="extended">
|
||||||
<button class="btn--image btn--action btn-timetable" @click="navigateToJournal">
|
<button class="btn-timetable btn--image btn--action" @click="navigateToJournal">
|
||||||
<img src="/images/icon-train.svg" alt="train icon" />
|
<img src="/images/icon-train.svg" alt="train icon" />
|
||||||
<span>
|
<span>
|
||||||
{{ $t('trains.journal-button') }}
|
{{ $t('trains.journal-button') }}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="btn--image btn--action btn-exit" @click="closeModal">
|
<button class="btn-exit btn--image btn--action" @click="closeModal">
|
||||||
<img src="/images/icon-exit.svg" alt="modal exit icon" />
|
<img src="/images/icon-exit.svg" alt="modal exit icon" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -270,6 +270,8 @@ export default defineComponent({
|
|||||||
.general-top-bar {
|
.general-top-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.5em;
|
||||||
|
|
||||||
& > div {
|
& > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -331,26 +333,10 @@ export default defineComponent({
|
|||||||
.train-info {
|
.train-info {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
gap: 1em 0;
|
gap: 1em 0;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.general-info,
|
.btn-timetable > span {
|
||||||
.general-status,
|
display: none;
|
||||||
.general-timetable {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.timetable-progress {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comments {
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
img {
|
|
||||||
margin: 0 0 0.5em 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user