commit: 2322646442365b0575393a897098a90c3bdc961f
parent 0f812394515c2dd428e3889a924df2885bdf44f1
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 8 May 2023 21:13:07 +0300
reintroduce width limit on number input but only for sizesetting
Diffstat:
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/components/settings_modal/helpers/size_setting.vue b/src/components/settings_modal/helpers/size_setting.vue
@@ -45,11 +45,18 @@
<script src="./size_setting.js"></script>
<style lang="scss">
-.css-unit-input,
-.css-unit-input select {
- margin-left: 0.5em;
- width: 4em;
- max-width: 4em;
- min-width: 4em;
+.SizeSetting {
+ .number-input {
+ max-width: 6.5em;
+ }
+
+ .css-unit-input,
+ .css-unit-input select {
+ margin-left: 0.5em;
+ width: 4em;
+ max-width: 4em;
+ min-width: 4em;
+ }
}
+
</style>