reintroduce width limit on number input but only for sizesetting

This commit is contained in:
Henry Jameson 2023-05-08 21:13:07 +03:00
parent 0f81239451
commit 2322646442
1 changed files with 13 additions and 6 deletions

View File

@ -45,11 +45,18 @@
<script src="./size_setting.js"></script> <script src="./size_setting.js"></script>
<style lang="scss"> <style lang="scss">
.css-unit-input, .SizeSetting {
.css-unit-input select { .number-input {
margin-left: 0.5em; max-width: 6.5em;
width: 4em; }
max-width: 4em;
min-width: 4em; .css-unit-input,
.css-unit-input select {
margin-left: 0.5em;
width: 4em;
max-width: 4em;
min-width: 4em;
}
} }
</style> </style>