Skip to content

Commit b2a81c2

Browse files
committed
Auto overflow on SuperDebug
1 parent a9e5606 commit b2a81c2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Type for `onChange.paths` wasn't strongly typed to `FormPath`.
1818
- Initial data was dereferenced after calling `superForm`, so it wasn't possible to update it when using `reset`.
1919
- `FormOptions` type required a type parameter that should've been defaulted to `Record<string, unknown>`.
20+
- Auto-overflow on [SuperDebug](https://superforms.rocks/super-debug), for small spaces.
2021

2122
## [2.4.0] - 2024-02-20
2223

src/lib/client/SuperDebug.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,10 @@
449449
overflow: hidden;
450450
}
451451
452+
.super-debug--pre {
453+
overflow-x: auto;
454+
}
455+
452456
.super-debug--collapse {
453457
display: block;
454458
width: 100%;
@@ -560,8 +564,8 @@
560564
}
561565
562566
.super-debug pre::-webkit-scrollbar {
563-
width: var(--sd-sb-width, var(--sd-vscode-sb-width, 1.25rem));
564-
height: var(--sd-sb-height, var(--sd-vscode-sb-height, 1.25rem));
567+
width: var(--sd-sb-width, var(--sd-vscode-sb-width, 1rem));
568+
height: var(--sd-sb-height, var(--sd-vscode-sb-height, 1rem));
565569
}
566570
567571
.super-debug pre::-webkit-scrollbar-track {

0 commit comments

Comments
 (0)