File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Fixed
1111
1212- Fixed types for constraints, tainted and errors when using intersections and unions in schemas.
13+ - Fixed SuperDebug collapsed height by preventing global css leak.
1314
1415## [ 2.8.1] - 2024-03-07
1516
Original file line number Diff line number Diff line change 478478 < / div>
479479 < / div>
480480 < pre
481- class = " super-debug--pre {collapsed && label === '' ? 'h-4' : ''}"
482- class: hidden= {collapsed}
481+ class = " super-debug--pre"
482+ class: super - debug-- with - label= {label}
483+ class: super - debug-- hidden= {collapsed}
483484 bind: this = {ref}>< code class = " super-debug--code"
484485 >< slot
485486 > {#if assertPromise ($debugData, raw, promise)}{#await $debugData}< div
552553 right: 0px ;
553554 }
554555
555- .pt - 0 {
556- padding- top: 0px ;
557- }
558-
559- .pt - 4 {
560- padding- top: 1em ;
561- }
562-
563- .hidden {
556+ .super - debug-- hidden {
564557 height: 0 ;
565558 overflow: hidden;
566559 }
567560
568- .hidden . h - 4 {
569- height: 1 .25em ;
561+ .super - debug -- hidden: not (. super - debug -- with - label ) {
562+ height: 1 .5em ;
570563 }
571564
572565 .rotated {
Original file line number Diff line number Diff line change 223223 :global(.space-y-4 > * + * ) {
224224 margin-top : 1rem ;
225225 }
226+
227+ :global(.hidden ) {
228+ display : none ;
229+ }
226230 </style >
You can’t perform that action at this time.
0 commit comments