We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62e7c76 + bea9bf6 commit d22d6bfCopy full SHA for d22d6bf
1 file changed
packages/components-react/src/Select/Select.css
@@ -29,13 +29,15 @@
29
/* Select — reset browser defaults, hide native arrow, add padding for custom icon */
30
/* Also override :read-only styles from dsn-text-input, because browsers consider
31
<select> as :read-only (non-typeable), which incorrectly triggers those styles. */
32
+/* max-inline-size is set to none so the wrapper controls the width, not the select itself. */
33
.dsn-select {
34
appearance: none;
35
background-color: var(--dsn-text-input-background-color);
36
border: var(--dsn-text-input-border-width) solid
37
var(--dsn-text-input-border-color);
38
color: var(--dsn-text-input-color);
39
cursor: pointer;
40
+ max-inline-size: none;
41
padding-inline-end: var(--dsn-select-padding-inline-end-with-icon);
42
}
43
0 commit comments