summaryrefslogtreecommitdiffstats
path: root/browser/components/storybook/.storybook/preview-head.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/storybook/.storybook/preview-head.html')
-rw-r--r--browser/components/storybook/.storybook/preview-head.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/browser/components/storybook/.storybook/preview-head.html b/browser/components/storybook/.storybook/preview-head.html
index c2f9e8d1a2..206972e714 100644
--- a/browser/components/storybook/.storybook/preview-head.html
+++ b/browser/components/storybook/.storybook/preview-head.html
@@ -21,6 +21,15 @@
text-decoration: underline !important;
}
+ div:has(p, .toc-wrapper) {
+ width: unset !important;
+ min-width: 10rem !important;
+ }
+
+ .toc-wrapper {
+ margin-inline-end: 8px;
+ }
+
/* Override the default Storybook padding in favour of styles
provided by our WithCommonStyles wrapper */
.sb-show-main.sb-main-padded {