fix: use exported variable for input height
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
@value globals: "../../styles/globals.css";
|
||||
@value inputContainerHeight, inputExpandedHeight from globals;
|
||||
|
||||
.container {
|
||||
align-content: center;
|
||||
background-color: var(--Surface-Primary-Default);
|
||||
@@ -5,7 +8,7 @@
|
||||
border-radius: var(--Corner-radius-md);
|
||||
display: grid;
|
||||
min-width: 0; /* allow shrinkage */
|
||||
height: 56px;
|
||||
height: inputContainerHeight;
|
||||
padding: 0 var(--Space-x15);
|
||||
box-sizing: border-box;
|
||||
cursor: text;
|
||||
@@ -43,7 +46,7 @@
|
||||
&:focus,
|
||||
&:placeholder-shown,
|
||||
&[value]:not([value='']) {
|
||||
height: 24px;
|
||||
height: inputExpandedHeight;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -54,7 +57,7 @@
|
||||
|
||||
@media (hover: hover) {
|
||||
.input:active:not(:disabled) {
|
||||
height: 24px;
|
||||
height: inputExpandedHeight;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user