Просмотр исходного кода

Give more room to numeric fields

tags/v0.0.1
Fen Dweller 5 лет назад
Родитель
Сommit
70c78bcca3
2 измененных файлов: 5 добавлений и 5 удалений
  1. +3
    -3
      macrovision.css
  2. +2
    -2
      macrovision.html

+ 3
- 3
macrovision.css Просмотреть файл

@@ -99,13 +99,13 @@ body {
font-size: 150%;
}

.options-row input {
flex: 1;
.options-row .options-field-numeric {
flex: 2;
width: 50%;
font-size: 150%;
}

.options-row select {
.options-row .options-field-unit {
flex: 1;
width: 50%;
font-size: 150%;


+ 2
- 2
macrovision.html Просмотреть файл

@@ -29,8 +29,8 @@
World height
</div>
<div class="options-row">
<input type="number" id="options-height-value" min="1" value="10">
<select id="options-height-unit">
<input class="options-field-numeric" type="number" id="options-height-value" min="1" value="10">
<select class="options-field-unit" id="options-height-unit">
<option>meters</option>
<option>kilometers</option>
</select>


Загрузка…
Отмена
Сохранить