fix: consistent height and focus states

This commit is contained in:
Christian Andolf
2025-06-13 12:17:23 +02:00
parent 73884aa428
commit ce399e696d
4 changed files with 17 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
border: 1px solid var(--Border-Interactive-Default);
border-radius: var(--Corner-radius-md);
position: relative;
height: 56px;
&[data-required] .label::after {
content: " *";
@@ -15,7 +16,8 @@
}
&[data-focused] {
border-color: var(--Border-Interactive-Focus);
outline-offset: -2px;
outline: 2px solid var(--Border-Interactive-Focus);
.button,
.input {
@@ -54,9 +56,9 @@
box-sizing: border-box;
display: flex;
gap: var(--Space-x1);
height: 56px;
padding: var(--Space-x15);
width: 100%;
height: 100%;
}
.displayText {