forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocu-notion-styles.css
More file actions
60 lines (51 loc) · 1.3 KB
/
docu-notion-styles.css
File metadata and controls
60 lines (51 loc) · 1.3 KB
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
/* This should be added to the docusaurus.config.js in order to show some notion things correctly.
See the option: --css-output-directory
See the docusaurus docs: https://docusaurus.io/docs/styling-layout
See the use in the docu-notion-sample-site: https://github.com/sillsdev/docu-notion-sample-site/blob/main/docusaurus.config.js
*/
/* Copied from
https://github1s.com/NotionX/react-notion-x/blob/master/packages/react-notion-x/src/styles.css#L934
and
https://github1s.com/NotionX/react-notion-x/blob/master/packages/react-notion-x/src/styles.css#L1063
*/
.notion-column {
display: flex;
flex-direction: column;
padding-top: 12px;
padding-bottom: 12px;
}
.notion-column > *:first-child {
margin-top: 0;
margin-left: 0;
margin-right: 0;
}
.notion-column > *:last-child {
margin-left: 0;
margin-right: 0;
margin-bottom: 0;
}
.notion-row {
display: flex;
overflow: hidden;
width: 100%;
max-width: 100%;
}
@media (max-width: 640px) {
.notion-row {
flex-direction: column;
}
.notion-row .notion-column {
width: 100% !important;
}
.notion-row .notion-spacer {
display: none;
}
}
.notion-spacer {
/* This matches the value in ColumnTransformer.ts */
width: calc(min(32px, 4vw));
}
.notion-spacer:last-child {
display: none;
}
/* End copied from NotionX */