Skip to content

Commit

Permalink
fix checkbox zIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
veej committed May 16, 2024
1 parent 9055f72 commit c3eb063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bento-design-system/src/Checkbox/Checkbox.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const fieldContainer = extendedHitAreaRecipe({ axis: "y" });

export const checkboxRecipe = strictRecipe({
base: [
{ position: "relative", zIndex: "1" },
{ position: "relative" },
bentoSprinkles({
width: 24,
height: 24,
Expand Down
2 changes: 1 addition & 1 deletion packages/bento-design-system/src/Switch/Switch.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { strictRecipe } from "../util/strictRecipe";
import { extendedHitAreaRecipe } from "../util/extendedHitArea.css";

export const switchContainer = style([
{ position: "relative", zIndex: "1" },
{ position: "relative" },
extendedHitAreaRecipe({ axis: "y" }),
]);

Expand Down

0 comments on commit c3eb063

Please sign in to comment.