Skip to content

Commit

Permalink
fix: borderWidth not getting applied on breadcrumbs and input
Browse files Browse the repository at this point in the history
  • Loading branch information
macci001 committed Jan 30, 2025
1 parent d2c5add commit cf2c2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Section = ({
scaling: number;
borderWidthValue: Border;
}) => {
const variants = ["bordered", "light", "solid"];
const variants = ["bordered", "light", "solid", "solid"];
const disabled = [false, false, false, true];
let classNames = {base: "text-small"};

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/themes/components/showcase/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Section = ({
variant,
classNames: {
...classNames,
inputWrapper: clsx(variant === "bordered" ? `${borderClassName} border-${color}` : ""),
inputWrapper: clsx(clsx(variant === "bordered" && borderClassName)),
},
isDisabled: false,
radius,
Expand Down

0 comments on commit cf2c2ca

Please sign in to comment.