fix: choice select arrow
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
}
|
||||
|
||||
.choice-select__trigger {
|
||||
/* Keep the existing outer dimensions and border */
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -24,7 +25,8 @@
|
||||
justify-content: space-between;
|
||||
|
||||
padding: 0;
|
||||
padding-inline: 5%;
|
||||
padding-left: 5%;
|
||||
padding-right: 1%;
|
||||
|
||||
background: transparent;
|
||||
border: var(--border-width) solid var(--border-hairline);
|
||||
@@ -32,7 +34,6 @@
|
||||
|
||||
font-family: var(--font-ui);
|
||||
font-size: 90%;
|
||||
|
||||
color: inherit;
|
||||
|
||||
cursor: pointer;
|
||||
@@ -49,19 +50,25 @@
|
||||
}
|
||||
|
||||
.choice-select__label {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.choice-select__chevron {
|
||||
flex-shrink: 0;
|
||||
flex: 0 0 auto;
|
||||
align-self: stretch;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 100cqh;
|
||||
aspect-ratio: 1;
|
||||
width: 1.5em;
|
||||
height: 100%;
|
||||
|
||||
color: var(--accent-brand);
|
||||
transition: transform var(--dur-base) var(--ease-standard);
|
||||
@@ -72,9 +79,10 @@
|
||||
}
|
||||
|
||||
.choice-select__chevron svg {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.choice-select__option {
|
||||
|
||||
Reference in New Issue
Block a user