Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit ef20fd8

Browse files
committed
adjust input tag/select width in function of column size
1 parent 7097bf5 commit ef20fd8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/styles/TagsStyles.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ const CustomTagsStyles: StylesConfig<any, true, GroupBase<any>> = {
99
position: "static",
1010
boxSizing: "border-box",
1111
}),
12-
menuPortal: (styles) => ({ ...styles, zIndex: 9999 }),
13-
control: (styles) => ({ ...styles, border: "none", boxShadow: "none" }),
12+
menuPortal: (styles) => ({
13+
...styles,
14+
zIndex: 9999
15+
}),
16+
control: (styles) => ({ ...styles, border: "none", boxShadow: "none", minWidth: "100%", }),
1417
option: (styles, { data, isFocused }) => ({
1518
...styles,
1619
backgroundColor: isFocused ? StyleVariables.TEXT_ACCENT_HOVER : data.color,
1720
color: "rgb(66, 66, 66)",
1821
padding: 0,
22+
width: "100%",
1923
textAlign: "center",
2024
":hover": {
2125
backgroundColor: StyleVariables.TEXT_ACCENT_HOVER,

0 commit comments

Comments
 (0)