@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 CHANGED
@@ -293,7 +293,7 @@ var codeTheme = import_view.EditorView.theme({
293
293
  ".cm-scroller": {
294
294
  fontFamily: "var(--font-mono)",
295
295
  lineHeight: "1.55",
296
- overscrollBehavior: "contain"
296
+ overscrollBehavior: "none"
297
297
  },
298
298
  ".cm-content": { padding: "10px 0" },
299
299
  ".cm-line": { padding: "0 12px" },
@@ -303,8 +303,28 @@ var codeTheme = import_view.EditorView.theme({
303
303
  borderRight: "1px solid var(--border-subtle)",
304
304
  color: "var(--fg-tertiary)"
305
305
  },
306
- ".cm-lineNumbers .cm-gutterElement": { padding: "0 10px 0 12px" },
307
- ".cm-foldGutter .cm-gutterElement": { padding: "0 8px 0 2px" },
306
+ ".cm-lineNumbers .cm-gutterElement": { padding: "0 10px 0 4px" },
307
+ ".cm-foldGutter": { width: "14px" },
308
+ ".cm-foldGutter .cm-gutterElement": {
309
+ display: "flex",
310
+ width: "14px",
311
+ alignItems: "center",
312
+ justifyContent: "flex-end",
313
+ padding: "0 1px 0 0"
314
+ },
315
+ ".cm-foldGutter .cm-gutterElement > span": {
316
+ display: "inline-flex",
317
+ width: "12px",
318
+ height: "100%",
319
+ alignItems: "center",
320
+ justifyContent: "center",
321
+ padding: "0",
322
+ color: "var(--fg-tertiary)",
323
+ lineHeight: "1",
324
+ transform: "translateY(-1px)",
325
+ transition: "color 120ms ease"
326
+ },
327
+ ".cm-foldGutter .cm-gutterElement > span:hover": { color: "var(--fg-secondary)" },
308
328
  ".cm-activeLine, .cm-activeLineGutter": { backgroundColor: "var(--bg-surface-1)" },
309
329
  ".cm-selectionBackground, &.cm-focused .cm-selectionBackground, ::selection": {
310
330
  backgroundColor: "var(--accent-surface-stroke) !important"