jsonview
jsonview copied to clipboard
A collection of small style adjustments
These are small style adjustments I'm currently using via "user styles". See the individual commit messages for some more details, while I'll leave some Before and After screenshots here:
-
Give
.collapsible.collapsed { height: 1lh }
Using#json { line-height: 2 }: -
Avoid horizontal scroll with very long string or link values
Firefox breaks somewhat more by default:
-
Specify
<meta name="color-scheme" content="light dark">
Firefox View > Page Style > No Style:
-
Force transparent background for "collapsed" text selection
-
Specify widths/lengths inchunit
-
Enlarge.collapserwidth/click-area
See if you may be interested in any of these.
- Specify widths/lengths in
chunit- Enlarge
.collapserwidth/click-area
I'll drop these last two from this PR as I'm still tweaking them for myself.
Awesome, thank you! I'll take a look through these and see what can be merged!