@mirror-physics/fractal-ui 0.2.0-next.50 → 0.2.0-next.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +23 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -184,7 +184,7 @@ var codeTheme = EditorView.theme({
|
|
|
184
184
|
".cm-scroller": {
|
|
185
185
|
fontFamily: "var(--font-mono)",
|
|
186
186
|
lineHeight: "1.55",
|
|
187
|
-
overscrollBehavior: "
|
|
187
|
+
overscrollBehavior: "none"
|
|
188
188
|
},
|
|
189
189
|
".cm-content": { padding: "10px 0" },
|
|
190
190
|
".cm-line": { padding: "0 12px" },
|
|
@@ -194,8 +194,28 @@ var codeTheme = EditorView.theme({
|
|
|
194
194
|
borderRight: "1px solid var(--border-subtle)",
|
|
195
195
|
color: "var(--fg-tertiary)"
|
|
196
196
|
},
|
|
197
|
-
".cm-lineNumbers .cm-gutterElement": { padding: "0 10px 0
|
|
198
|
-
".cm-foldGutter
|
|
197
|
+
".cm-lineNumbers .cm-gutterElement": { padding: "0 10px 0 4px" },
|
|
198
|
+
".cm-foldGutter": { width: "14px" },
|
|
199
|
+
".cm-foldGutter .cm-gutterElement": {
|
|
200
|
+
display: "flex",
|
|
201
|
+
width: "14px",
|
|
202
|
+
alignItems: "center",
|
|
203
|
+
justifyContent: "flex-end",
|
|
204
|
+
padding: "0 1px 0 0"
|
|
205
|
+
},
|
|
206
|
+
".cm-foldGutter .cm-gutterElement > span": {
|
|
207
|
+
display: "inline-flex",
|
|
208
|
+
width: "12px",
|
|
209
|
+
height: "100%",
|
|
210
|
+
alignItems: "center",
|
|
211
|
+
justifyContent: "center",
|
|
212
|
+
padding: "0",
|
|
213
|
+
color: "var(--fg-tertiary)",
|
|
214
|
+
lineHeight: "1",
|
|
215
|
+
transform: "translateY(-1px)",
|
|
216
|
+
transition: "color 120ms ease"
|
|
217
|
+
},
|
|
218
|
+
".cm-foldGutter .cm-gutterElement > span:hover": { color: "var(--fg-secondary)" },
|
|
199
219
|
".cm-activeLine, .cm-activeLineGutter": { backgroundColor: "var(--bg-surface-1)" },
|
|
200
220
|
".cm-selectionBackground, &.cm-focused .cm-selectionBackground, ::selection": {
|
|
201
221
|
backgroundColor: "var(--accent-surface-stroke) !important"
|