-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoverrides.css
68 lines (56 loc) · 1.73 KB
/
overrides.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
:root,
.theme-light {
--color-template-surface-background-page: #ffffff00;
}
:host,
.theme-dark {
--color-template-surface-background-page: #141414;
}
.docs-story {
/* The element containing the component on the overview page. */
& > div {
padding: 0.35rem !important;
}
}
/* The toolbar right above the component on the overview page. */
.sb-bar {
display: none !important;
}
/* The padding left over from the hidden toolbar on the overview page. */
.sbdocs:has(> .sb-bar) {
padding-top: 0 !important;
}
/* The "name" column can get pretty long and wraps, making it hard to read. */
.docblock-argstable-body tr td:first-of-type {
white-space: nowrap !important;
}
/* The "description" column can get pretty long and wraps, making it hard to read. */
.docblock-argstable-body tr td:nth-of-type(2) span {
white-space: nowrap !important;
}
/* The "default" column can get pretty long and wraps, making it hard to read. */
.docblock-argstable-body tr td:nth-of-type(3) span {
white-space: nowrap !important;
}
/* The Hide Code button's container. */
*:has(> .docblock-code-toggle) {
display: none !important;
}
/* The Hide Code button. */
.docblock-code-toggle {
display: none !important;
}
/* The element on the overview page that contains our rendered component. */
.docs-story {
background-color: var(--color-template-surface-background-page) !important;
}
/* The element on individual story pages that contains our rendered component. */
.sb-show-main {
background-color: var(--color-template-surface-background-page) !important;
}
/* The tooltip shown when `argTypes[key].table.type` is clicked. */
[data-popper-interactive] * {
overflow: visible !important;
text-wrap: pretty !important;
width: auto !important;
}