fix: choice select arrow

This commit is contained in:
Lucas
2026-10-26 16:01:08 +01:00
parent 5802186e86
commit 883f52f911
2 changed files with 16 additions and 8 deletions
+15 -7
View File
@@ -14,6 +14,7 @@
} }
.choice-select__trigger { .choice-select__trigger {
/* Keep the existing outer dimensions and border */
flex: 1 1 auto; flex: 1 1 auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -24,7 +25,8 @@
justify-content: space-between; justify-content: space-between;
padding: 0; padding: 0;
padding-inline: 5%; padding-left: 5%;
padding-right: 1%;
background: transparent; background: transparent;
border: var(--border-width) solid var(--border-hairline); border: var(--border-width) solid var(--border-hairline);
@@ -32,7 +34,6 @@
font-family: var(--font-ui); font-family: var(--font-ui);
font-size: 90%; font-size: 90%;
color: inherit; color: inherit;
cursor: pointer; cursor: pointer;
@@ -49,19 +50,25 @@
} }
.choice-select__label { .choice-select__label {
flex: 1 1 auto;
min-width: 0;
text-align: left;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.choice-select__chevron { .choice-select__chevron {
flex-shrink: 0; flex: 0 0 auto;
align-self: stretch;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 100cqh; width: 1.5em;
aspect-ratio: 1; height: 100%;
color: var(--accent-brand); color: var(--accent-brand);
transition: transform var(--dur-base) var(--ease-standard); transition: transform var(--dur-base) var(--ease-standard);
@@ -72,9 +79,10 @@
} }
.choice-select__chevron svg { .choice-select__chevron svg {
width: 50%;
height: auto;
display: block; display: block;
width: auto;
height: 100%;
max-width: none;
} }
.choice-select__option { .choice-select__option {
+1 -1
View File
@@ -157,7 +157,7 @@
.add-dsp-form__selector { .add-dsp-form__selector {
color: var(--text-primary); color: var(--text-primary);
height: 100%; height: var(--card-control-height);
} }
.add-dsp-form__field .choice-stepper__input { .add-dsp-form__field .choice-stepper__input {