diff --git a/src/components/color_input/color_input.scss b/src/components/color_input/color_input.scss index fad2bfca7..3128381f5 100644 --- a/src/components/color_input/color_input.scss +++ b/src/components/color_input/color_input.scss @@ -1,27 +1,18 @@ .color-input { display: inline-flex; - flex-wrap: wrap; - max-width: 10em; - - &.-compact { - max-width: none; - } .label { flex: 1 1 auto; - grid-area: label; } .opt { - grid-area: checkbox; margin-right: 0.5em; } &-field.input { - flex: 1 1 10em; - max-width: 10em; - grid-area: input; - display: flex; + display: inline-flex; + flex: 0 0 0; + max-width: 9em; align-items: stretch; input { diff --git a/src/components/color_input/color_input.vue b/src/components/color_input/color_input.vue index 58aee575c..266ad4d4e 100644 --- a/src/components/color_input/color_input.vue +++ b/src/components/color_input/color_input.vue @@ -1,7 +1,7 @@ diff --git a/src/components/opacity_input/opacity_input.vue b/src/components/opacity_input/opacity_input.vue index 19de233d7..041219feb 100644 --- a/src/components/opacity_input/opacity_input.vue +++ b/src/components/opacity_input/opacity_input.vue @@ -8,7 +8,7 @@ class="label" :class="{ faint: !present || disabled }" > - {{ label || $t('settings.style.themes3.editor.opacity') }} + {{ label }} - - updatePalette(key, value)" - /> - - - - - {{ $t('settings.style.themes3.palette.import') }} - - - - {{ $t('settings.style.themes3.palette.export') }} - - - - - {{ $t('settings.style.themes3.palette.apply') }} - - + updatePalette(key, value)" + /> + + + {{ $t('settings.style.themes3.palette.import') }} + + + + {{ $t('settings.style.themes3.palette.export') }} + + + {{ $t('settings.style.themes3.palette.apply') }} +