fix: consistent height and focus states
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
border-radius: var(--Corner-radius-md);
|
||||
display: grid;
|
||||
min-width: 0; /* allow shrinkage */
|
||||
height: 60px;
|
||||
padding: var(--Space-x1) var(--Space-x2);
|
||||
height: 56px;
|
||||
padding: var(--Space-x15);
|
||||
box-sizing: border-box;
|
||||
cursor: text;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
background-color: var(--Surface-UI-Fill-Default);
|
||||
border: 1px solid var(--Border-Interactive-Default);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
height: 56px;
|
||||
|
||||
&[data-required] .label::after {
|
||||
content: ' *';
|
||||
@@ -17,7 +18,8 @@
|
||||
}
|
||||
}
|
||||
&[data-focused] {
|
||||
border-color: var(--Border-Interactive-Focus);
|
||||
outline-offset: -2px;
|
||||
outline: 2px solid var(--Border-Interactive-Focus);
|
||||
|
||||
.button,
|
||||
.input {
|
||||
|
||||
Reference in New Issue
Block a user