fix(settings): widen the settings panel for the left tab column
Side-mode settings panel (420px) clipped its content (Clear cache button) now that the vertical tab column eats ~100px. Bumped #settingsPanel to 520px (id beats .slideover's 420; entry #slideover unchanged). Nudged centered height 620→660. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -2071,6 +2071,10 @@ input[type="range"]::-webkit-slider-thumb {
|
|||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
.slideover.is-open { transform: translateX(0); }
|
.slideover.is-open { transform: translateX(0); }
|
||||||
|
/* Settings needs more width than the entry editor — the left tab column eats
|
||||||
|
~100px. Only #settingsPanel; #slideover stays 420. (Center mode already
|
||||||
|
sets its own 520.) */
|
||||||
|
#settingsPanel { width: 520px; }
|
||||||
/* Suppress the slide animation when the panel is closed — otherwise
|
/* Suppress the slide animation when the panel is closed — otherwise
|
||||||
changing editor-position animates the off-screen position from right
|
changing editor-position animates the off-screen position from right
|
||||||
to left and the panel briefly crosses the viewport. */
|
to left and the panel briefly crosses the viewport. */
|
||||||
@@ -2115,7 +2119,7 @@ body[data-editor-position="center"] #settingsPanel {
|
|||||||
/* Settings gets a FIXED height in centered mode so switching tabs (short vs
|
/* Settings gets a FIXED height in centered mode so switching tabs (short vs
|
||||||
long) doesn't resize + re-center the modal. Entry #slideover stays
|
long) doesn't resize + re-center the modal. Entry #slideover stays
|
||||||
content-sized (grows with the form). */
|
content-sized (grows with the form). */
|
||||||
body[data-editor-position="center"] #settingsPanel { height: min(88vh, 620px); }
|
body[data-editor-position="center"] #settingsPanel { height: min(90vh, 660px); }
|
||||||
body[data-editor-position="center"] #slideover.is-open,
|
body[data-editor-position="center"] #slideover.is-open,
|
||||||
body[data-editor-position="center"] #settingsPanel.is-open {
|
body[data-editor-position="center"] #settingsPanel.is-open {
|
||||||
transform: translate(-50%, -50%) scale(1);
|
transform: translate(-50%, -50%) scale(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user