fix: min height for disabled field moved to common scss

This commit is contained in:
Shariq Ansari 2022-06-14 14:44:55 +05:30
parent 1adec8b3e4
commit c1df1b1f18
3 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,5 @@
$input-height: 28px !default;
:root,
[data-theme="light"] {
--brand-color: #0089FF;
@ -250,6 +252,10 @@
--primary-color: #2490EF;
--btn-height: 30px;
// input
--input-height: #{$input-height};
--input-disabled-bg: var(--gray-200);
// Checkbox
--checkbox-right-margin: var(--margin-xs);
--checkbox-size: 14px;

View file

@ -13,6 +13,7 @@
font-weight: normal;
font-size: var(--text-sm);
}
min-height: var(--input-height);
border-radius: $border-radius;
font-weight: 400;
padding: 6px 12px;

View file

@ -1,7 +1,5 @@
@import '../common/css_variables.scss';
$input-height: 28px !default;
:root,
[data-theme="light"] {
// breakpoints
@ -31,10 +29,6 @@ $input-height: 28px !default;
--page-head-height: 75px;
--page-bottom-margin: 60px;
// input
--input-height: #{$input-height};
--input-disabled-bg: var(--gray-200);
// checkbox
--checkbox-right-margin: var(--margin-xs);
--checkbox-size: 14px;