fix(settings): force 800px width in centered mode (center rule was 520)

This commit is contained in:
r-zakarya
2026-07-10 11:11:59 +01:00
parent 5144c2aaf7
commit 8d7da02b0d
+2 -2
View File
@@ -2074,7 +2074,7 @@ input[type="range"]::-webkit-slider-thumb {
/* 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: min(96vw, 800px); }
#settingsPanel { width: 800px; }
/* Suppress the slide animation when the panel is closed — otherwise
changing editor-position animates the off-screen position from right
to left and the panel briefly crosses the viewport. */
@@ -2119,7 +2119,7 @@ body[data-editor-position="center"] #settingsPanel {
/* Settings gets a FIXED height in centered mode so switching tabs (short vs
long) doesn't resize + re-center the modal. Entry #slideover stays
content-sized (grows with the form). */
body[data-editor-position="center"] #settingsPanel { height: min(94vh, 720px); }
body[data-editor-position="center"] #settingsPanel { width: 800px; height: min(94vh, 720px); }
body[data-editor-position="center"] #slideover.is-open,
body[data-editor-position="center"] #settingsPanel.is-open {
transform: translate(-50%, -50%) scale(1);