mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore: TWR & SKR badges fixes
This commit is contained in:
@@ -3,8 +3,24 @@
|
||||
<span class="general-train">
|
||||
<span class="text--grayed">#{{ timetable.id }}</span>
|
||||
|
||||
<span class="train-badge twr" v-if="timetable.twr" :title="$t('general.TWR')">TWR</span>
|
||||
<span class="train-badge skr" v-if="timetable.skr" :title="$t('general.SKR')">SKR</span>
|
||||
<span
|
||||
class="train-badge twr"
|
||||
v-if="timetable.twr"
|
||||
data-tooltip-type="BaseTooltip"
|
||||
:data-tooltip-content="
|
||||
$t('general.TWR') + `${timetable.warningNotes ? ':\n' + timetable.warningNotes : ''}`
|
||||
"
|
||||
>
|
||||
TWR
|
||||
</span>
|
||||
<span
|
||||
class="train-badge skr"
|
||||
v-if="timetable.skr"
|
||||
data-tooltip-type="BaseTooltip"
|
||||
:data-tooltip-content="$t('general.SKR')"
|
||||
>
|
||||
SKR
|
||||
</span>
|
||||
|
||||
<span>
|
||||
<strong
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
--clr-donator: #f7a4ff;
|
||||
|
||||
--no-scroll-padding: 17px;
|
||||
--max-container-width: 2000px;
|
||||
--max-container-width: 1700px;
|
||||
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ $viewBgCol: #1a1a1a;
|
||||
.driver-view {
|
||||
margin: 0 auto;
|
||||
padding: 1em 0;
|
||||
max-width: 2000px;
|
||||
max-width: var(--max-container-width);
|
||||
min-height: calc(100vh - 7em);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user