Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SW-6891] Fix Select component height #144

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/Select/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const selectVariants = cva(
false: "opacity-100",
},
size: {
lg: "h-14 text-md",
md: "h-11 text-md",
sm: "h-10 text-sm",
lg: "min-h-14 text-md",
md: "min-h-11 text-md",
sm: "min-h-10 text-sm",
},
error: {
true: "border-error-600",
Expand Down Expand Up @@ -88,7 +88,7 @@ export const selectClassName = ({ ...rest }: ControlStylesProps) => {
placeholder: () => "text-coolGray-500 pl-3 text-md",
singleValue: () => "text-coolGray-900 pl-3 text-md",
multiValue: () =>
"ml-1 rounded-3xl bg-primary-25 px-2.5 py-2 text-primary-500 text-xs items-center gap-2.5",
"ml-1 my-1 rounded-3xl bg-primary-25 px-2.5 py-2 text-primary-500 text-xs items-center gap-2.5",
indicatorsContainer: () => "p-1.5 gap-2",
dropdownIndicator: () => "p-1.5 hover:bg-gray-100 text-gray-500 rounded-md hover:text-black",
menu: () => "p-1.5 mt-2 border border-primary-25 bg-white rounded-lg shadow-md",
Expand Down