diff options
author | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2022-01-21 18:22:22 +0300 |
---|---|---|
committer | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2022-01-21 18:22:22 +0300 |
commit | d385ecc6bac06286433d1cb92790575bd8b6160e (patch) | |
tree | 977d37e4fb23010fe1d1c5aa0c053dba3cd96692 /sass | |
parent | 526c1e53d80ab60f7b2823f9763c5373f196b3b7 (diff) |
..F....... [ZBXNEXT-7125] fixed colorpicker vertical align
Diffstat (limited to 'sass')
-rwxr-xr-x | sass/stylesheets/sass/components/_color-picker.scss | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sass/stylesheets/sass/components/_color-picker.scss b/sass/stylesheets/sass/components/_color-picker.scss index 0baf9aa3597..668c08977a8 100755 --- a/sass/stylesheets/sass/components/_color-picker.scss +++ b/sass/stylesheets/sass/components/_color-picker.scss @@ -5,7 +5,6 @@ background: url($sprite-path) no-repeat -323px -411px; border: 1px solid $form-border-color; color: $font-color; - vertical-align: inherit; } .use-default { @@ -18,23 +17,20 @@ right: 0; left: 0; text-align: center; + line-height: 22px; } } } .color-picker { display: inline-block; - line-height: 1.2; - vertical-align: sub; + line-height: 24px; .color-picker-preview { padding: 0; background-position: -321px -409px; width: 24px; - - &:after { - line-height: 22px; - } + vertical-align: top; } input:disabled + button { |