-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clean up Storybook styles (#5067)
* docs(DosAndDonts): update styles so items are the same height * docs(DosAndDonts): update styles for single col to span full width * docs(StickerSheet): fix spacing
- Loading branch information
1 parent
c29094e
commit ca8ac77
Showing
4 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.dosAndDonts { | ||
position: relative; | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: var(--spacing-16); | ||
|
||
> :only-child { | ||
grid-column: span 2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
.stickerSheetSectionHeading { | ||
margin-bottom: var(--spacing-md); | ||
margin-bottom: var(--spacing-12); | ||
|
||
.stickerSheet + .stickerSheet & { | ||
margin-top: var(--spacing-lg); | ||
} | ||
} | ||
|
||
.stickerSheetTable { | ||
margin-left: calc(-1 * var(--spacing-md)); | ||
margin-left: calc(-1 * var(--spacing-12)); | ||
} |