-
Notifications
You must be signed in to change notification settings - Fork 158
/
Copy pathstorybook.css
69 lines (56 loc) · 1.18 KB
/
storybook.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
69
/** Fix/improve storybook styles for embedding */
.sbdocs-wrapper {
@apply !p-0 font-sans;
display: block !important;
min-height: unset !important;
.sbdocs-content {
@apply !p-0;
}
}
.sb-preparing-docs {
@apply !p-0;
}
.sb-previewBlock,
.sb-argstableBlock {
@apply !mx-auto;
max-width: calc(100% - 4px) !important;
}
.embedded {
.sbdocs {
@apply !m-0;
}
.innerZoomElementWrapper {
@apply max-w-full;
}
.sb-anchor:not(:first-child) {
@apply mt-4;
}
.docs-story {
@apply flex items-center justify-center;
> div > div {
min-width: 90vw;
@apply flex max-w-full items-center justify-center;
}
.innerZoomElementWrapper:has(.storybook-fix) {
@apply flow-root w-full;
> div {
@apply mx-auto my-3;
}
}
}
.docblock-argstable {
@apply !mb-0;
max-width: calc(100% - 2px);
tr:not(:first-child),
tr td:nth-child(3) {
/* Fix responsive issue border-right: 1px solid hsla(203, 50%, 30%, 0.15); */
}
tr td:last-child,
tr th:last-child {
/* Fix responsive issue @apply hidden sm:visible; */
}
}
}
.sbdocs-preview > div > div {
@apply overflow-hidden;
}