Skip to content

Commit f2aa208

Browse files
authored
fix(storybook): fix issue with text rendering in storybook props table (#14207)
1 parent 410931a commit f2aa208

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

packages/react/.storybook/styles.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,20 @@ body {
2828
background: styles.$background;
2929
color: styles.$text-primary;
3030
}
31+
32+
// Docs overrides
33+
.docblock-argstable-head ~ .docblock-argstable-body,
34+
.docblock-argstable-head ~ .docblock-argstable-body p {
35+
@include styles.type-style('body-01');
36+
}
37+
38+
.docblock-argstable-head ~ .docblock-argstable-body table tbody {
39+
filter: none;
40+
}
41+
42+
/* stylelint-disable */
43+
.docblock-argstable-head ~ .docblock-argstable-body table tbody > tr > td {
44+
border: none !important;
45+
box-shadow: none;
46+
}
47+
/* stylelint-enable */

0 commit comments

Comments
 (0)