@youtyan/code-viewer 0.1.4 → 0.1.5
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/package.json +1 -1
- package/web/style.css +5 -5
package/package.json
CHANGED
package/web/style.css
CHANGED
|
@@ -714,10 +714,11 @@ html, body {
|
|
|
714
714
|
|
|
715
715
|
/* ===== Sidebar resizer (drag right edge to resize) ===== */
|
|
716
716
|
#sidebar-resizer {
|
|
717
|
-
position:
|
|
718
|
-
top:
|
|
719
|
-
|
|
720
|
-
|
|
717
|
+
position: fixed;
|
|
718
|
+
top: var(--chrome-h);
|
|
719
|
+
bottom: 0;
|
|
720
|
+
left: calc(var(--sidebar-w) - 4px);
|
|
721
|
+
width: 8px;
|
|
721
722
|
cursor: col-resize;
|
|
722
723
|
z-index: 31;
|
|
723
724
|
background: transparent;
|
|
@@ -741,7 +742,6 @@ body.gdp-resizing #sidebar-resizer {
|
|
|
741
742
|
pointer-events: none;
|
|
742
743
|
box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
|
|
743
744
|
}
|
|
744
|
-
#sidebar { position: fixed; } /* ensure relative ancestor for resizer */
|
|
745
745
|
body.gdp-resizing { cursor: col-resize !important; user-select: none; }
|
|
746
746
|
body.gdp-resizing * { user-select: none !important; }
|
|
747
747
|
|