fix: global styles fix

This commit is contained in:
2024-04-14 00:09:52 +02:00
parent 75e34d9f75
commit e72b73ccf0
2 changed files with 28 additions and 5 deletions
+26 -4
View File
@@ -12,19 +12,19 @@
{{ $t('stockgen.properties-desc') }}
</b>
<div class="tab_attributes">
<div class="inputs">
<label>
{{ $t('stockgen.input-mass') }}
<span>{{ $t('stockgen.input-mass') }}</span>
<input type="number" v-model="maxTons" step="100" max="4000" min="0" />
</label>
<label>
{{ $t('stockgen.input-length') }}
<span>{{ $t('stockgen.input-length') }}</span>
<input type="number" v-model="maxLength" step="25" max="650" min="0" />
</label>
<label>
{{ $t('stockgen.input-carcount') }}
<span>{{ $t('stockgen.input-carcount') }}</span>
<input type="number" v-model="maxCarCount" step="1" max="60" min="1" />
</label>
</div>
@@ -368,6 +368,28 @@ h2 {
gap: 1em;
}
.inputs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
flex-wrap: wrap;
gap: 0.5em;
}
.inputs > label {
display: flex;
flex-direction: column;
gap: 0.25em;
span {
color: #ccc;
}
input[type='text'] {
background-color: white;
}
}
.generator_options {
display: flex;
flex-direction: column;