diff --git a/.changeset/shy-turkeys-serve.md b/.changeset/shy-turkeys-serve.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/shy-turkeys-serve.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/docs/components/DosAndDonts/DosAndDonts.module.css b/docs/components/DosAndDonts/DosAndDonts.module.css new file mode 100644 index 00000000000..658e04724fb --- /dev/null +++ b/docs/components/DosAndDonts/DosAndDonts.module.css @@ -0,0 +1,10 @@ +.dosAndDonts { + position: relative; + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--spacing-16); + + > :only-child { + grid-column: span 2; + } +} diff --git a/docs/components/DosAndDonts/DosAndDonts.tsx b/docs/components/DosAndDonts/DosAndDonts.tsx index 1bf75467812..842f64cfbd7 100644 --- a/docs/components/DosAndDonts/DosAndDonts.tsx +++ b/docs/components/DosAndDonts/DosAndDonts.tsx @@ -4,16 +4,14 @@ import { Canvas } from "@storybook/blocks" import classnames from "classnames" import { CheckIcon, CloseIcon } from "~components/Icon" import { SbContent } from "../SbContent" +import styles from "./DosAndDonts.module.css" export const DosAndDonts = ({ className, children, ...otherProps }: HTMLAttributes): JSX.Element => ( -
+
{children}
) @@ -29,31 +27,29 @@ export const DoOrDont = ({ isDont?: boolean story: any } & HTMLAttributes): JSX.Element => ( -
*]:m-0", className)} {...otherProps}> -
-
- {isDont ? ( - - ) : ( - - )} - - - {isDont ? "Don't" : "Do"} - - -
- +
+
+ {isDont ? ( + + ) : ( + + )} + + + {isDont ? "Don't" : "Do"} + +
+
) diff --git a/docs/components/StickerSheet/StickerSheet.module.css b/docs/components/StickerSheet/StickerSheet.module.css index f78323e9647..328158214d8 100644 --- a/docs/components/StickerSheet/StickerSheet.module.css +++ b/docs/components/StickerSheet/StickerSheet.module.css @@ -1,5 +1,5 @@ .stickerSheetSectionHeading { - margin-bottom: var(--spacing-md); + margin-bottom: var(--spacing-12); .stickerSheet + .stickerSheet & { margin-top: var(--spacing-lg); @@ -7,5 +7,5 @@ } .stickerSheetTable { - margin-left: calc(-1 * var(--spacing-md)); + margin-left: calc(-1 * var(--spacing-12)); }