Skip to content

Commit

Permalink
fix(opacitycheckerboard): display in storybook with updated CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
jenndiaz committed Jan 22, 2024
1 parent b7b4482 commit a595f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { styleMap } from "lit/directives/style-map.js";
import { Template } from "./template";

export default {
title: "Components/Opacity checkerboard",
title: "Utilities/Opacity checkerboard",
description:
"Opacity checkerboard is used with other components to highlight opacity.",
component: "OpacityCheckerboard",
Expand Down
2 changes: 2 additions & 0 deletions components/opacitycheckerboard/stories/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const Template = ({
})}
style=${ifDefined(styleMap({
"--mod-opacity-checkerboard-position": backgroundPosition,
"inline-size": "100%",
"block-size": "100%",
...customStyles,
}))}
role=${ifDefined(role)}
Expand Down

0 comments on commit a595f9d

Please sign in to comment.