fix dropdown wrapper value wrapping down to new line (#36495)

**Related issue:** Resolves #33987

quick fix to fix truncation for the value section on dropdown wrapper
component
This commit is contained in:
Gabriel Hernandez
2025-12-02 12:08:45 +00:00
committed by GitHub
parent f63ed0a4c6
commit c8ae78eac3
@@ -368,6 +368,7 @@ export const generateCustomDropdownStyles = (
padding: 0,
display: "flex",
gap: PADDING[variant === "button" ? "pad-xsmall" : "pad-small"],
flexWrap: "nowrap", // This ensures the value is on a single line and truncated
}),
option: (provided, state) => ({
...provided,