Skip to content

Commit

Permalink
fix(storybook): fix issue with text rendering in storybook props table
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jul 13, 2023
1 parent 7f623ee commit 17a5528
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/react/.storybook/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,20 @@ body {
background: styles.$background;
color: styles.$text-primary;
}

// Docs overrides
.docblock-argstable-head ~ .docblock-argstable-body,
.docblock-argstable-head ~ .docblock-argstable-body p {
@include styles.type-style('body-01');
}

.docblock-argstable-head ~ .docblock-argstable-body table tbody {
filter: none;
}

/* stylelint-disable */
.docblock-argstable-head ~ .docblock-argstable-body table tbody > tr > td {
border: none !important;
box-shadow: none;
}
/* stylelint-enable */

0 comments on commit 17a5528

Please sign in to comment.