-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (91 loc) · 2.45 KB
/
Copy pathstyle.css
File metadata and controls
113 lines (91 loc) · 2.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
*,
::before,
::after {
@apply dark:border-gray-600;
}
@font-face {
font-family: "Inter";
src: url("./Inter-Variable.ttf");
font-weight: 100 900;
font-display: swap;
}
.splitpanes--vertical>.splitpanes__pane {
transition: none !important;
}
.splitpanes--horizontal>.splitpanes__pane {
transition: none !important;
}
.monaco-workbench>.notifications-toasts.visible {
display: none !important;
}
#o1>.splitpanes__pane {
overflow: visible !important;
}
#o2>.splitpanes__pane {
overflow: visible !important;
}
.nowrap pre code.hljs {
whitespace: normal !important;
}
.z5000 {
z-index: 5000 !important;
}
pre code.hljs {
overflow: visible !important;
}
svelte-virtual-list-row {
overflow: visible !important;
}
svelte-virtual-list-contents>*+* {
border-top-width: 1px !important;
border-bottom-width: 0px !important;
}
.monaco-editor textarea:focus {
box-shadow: none !important;
}
.Template-editor span.mtk20 {
color: black !important;
}
::-webkit-scrollbar {
width: 9px;
height: 9px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(155, 155, 155, 0.5);
border: transparent;
}
}
/* The SDK builders (ScriptBuilder / FlowBuilder) fill their parent: their
wrapper is `h-full flex flex-col` and their inner layout is `flex-1 min-h-0`.
That only resolves to a real height if the host establishes one — a
`height:100%` chain needs every ancestor (html, body, #root) to have a
definite height, otherwise `h-full` collapses to content height and Monaco /
the flow graph render at ~0px.
Give the document a full-viewport height chain and lay the app out as a flex
column so the builder container fills the space under the control bars.
(ScriptEditor already sizes itself via `h-screen`, so it is unaffected.) */
html,
body,
#root {
height: 100%;
}
#root {
display: flex;
flex-direction: column;
}
/* The builder/host container (`p-2 h-full border embedded`) is the flex child
that should fill the remaining height. `flex: 1` + `height: auto` neutralises
its `h-full` so it grows into the leftover space instead of forcing 100% of
the viewport (which would overflow past the control bars). */
#root > .embedded {
flex: 1 1 0%;
min-height: 0;
height: auto;
}