mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
fix(wiki): moved warning about no vehicles above list
This commit is contained in:
@@ -45,11 +45,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="vehicles" ref="vehicles">
|
<div class="no-vehicles-warning" v-if="computedVehicles.length == 0">
|
||||||
<li class="no-vehicles-warning" v-if="computedVehicles.length == 0">
|
|
||||||
{{ $t('wiki.no-vehicles') }}
|
{{ $t('wiki.no-vehicles') }}
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
|
<ul class="vehicles" ref="vehicles">
|
||||||
<li
|
<li
|
||||||
v-for="vehicle in computedVehicles"
|
v-for="vehicle in computedVehicles"
|
||||||
:key="vehicle.type"
|
:key="vehicle.type"
|
||||||
@@ -328,6 +328,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
.no-vehicles-warning {
|
.no-vehicles-warning {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: #161c2e;
|
background-color: #161c2e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user