mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.kit-field {
|
||||
.kit-field, .kit-field.autoComplete_wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
@@ -166,6 +166,7 @@
|
||||
}
|
||||
.kit-field textarea,
|
||||
.kit-field input,
|
||||
.kit-field.autoComplete_wrapper > input,
|
||||
.kit-field .kit-field__display {
|
||||
pointer-events: auto;
|
||||
background-color: transparent;
|
||||
@@ -191,6 +192,9 @@
|
||||
outline-width: 0;
|
||||
font-family: var(--kit-font-family);
|
||||
list-style-type: none;
|
||||
background-image: none;
|
||||
background-position: unset;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.kit-field textarea[data-dirty='true'],
|
||||
@@ -201,15 +205,15 @@
|
||||
.kit-field [data-dirty='true'] ~ .kit-field__label,
|
||||
.kit-field input[type='checkbox'] ~.kit-field__label {
|
||||
top: 0;
|
||||
transform: translate(0, 0);
|
||||
/*transform: translate(0, 0);*/
|
||||
}
|
||||
.kit-field .kit-field__label {
|
||||
font-weight: 400;
|
||||
line-height: calc(1em * 1.5);
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 100%;
|
||||
transform: translate(0, -100%);
|
||||
top: calc(100% - 1em* 1.5 - var(--kit-field-line-padding)* 2);
|
||||
/*transform: translate(0, -100%);*/
|
||||
left: 0;
|
||||
color: var(--kit-color-text);
|
||||
pointer-events: none;
|
||||
@@ -1463,4 +1467,9 @@ select.kit-field__input:disabled ~.kit-field__hr {
|
||||
}
|
||||
.kit-field__area-right {
|
||||
order: 200;
|
||||
}
|
||||
|
||||
.kit-field.autoComplete_wrapper > ul[id^=autoComplete] {
|
||||
top: 100%;
|
||||
pointer-events: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user