aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-05-08 21:13:07 +0300
committerHenry Jameson <me@hjkos.com>2023-05-08 21:13:07 +0300
commit2322646442365b0575393a897098a90c3bdc961f (patch)
treec487ec56b7e4b8d6bc3128f5dd17ba977eb80eea /src
parent0f812394515c2dd428e3889a924df2885bdf44f1 (diff)
reintroduce width limit on number input but only for sizesetting
Diffstat (limited to 'src')
-rw-r--r--src/components/settings_modal/helpers/size_setting.vue19
1 files 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
index 5a78f100..6c3fbaeb 100644
--- 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>