fix: align combobox height to operator select via grid stretch
- Grid rows use align-items: stretch so all cells share the select's height - Combobox host, wrapper, and input all set height: 100% to fill the cell - Remove button uses align-self: center to stay centered instead of stretching
This commit is contained in:
@@ -63,12 +63,14 @@ export class YjCombobox extends LitElement {
|
||||
:host {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.combobox-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
input {
|
||||
@@ -80,8 +82,8 @@ export class YjCombobox extends LitElement {
|
||||
font-size: var(--yj-text-md);
|
||||
font-family: inherit;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
|
||||
Reference in New Issue
Block a user