oficina / slides Public

Slides editor: the header wraps on a narrow phone instead of running off the edge

At 320px the account and Help fell off the right. Below 600px the header
grows to fit, its controls wrap, and Share is smaller.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev b226a0b272a7959257d50f1374d84735d69536b9 parent 7b43534
1 file changed, +8 −0
  • internal/slides/static/editor.css +8 −0
diff --git a/internal/slides/static/editor.css b/internal/slides/static/editor.css
index d3b2e24..96997a4 100644
--- a/internal/slides/static/editor.css
+++ b/internal/slides/static/editor.css
@@ -350,7 +350,9 @@ body:has([slides-editor]) {
}
@media (max-width: 599px) {
[slides-head] {
+ block-size: auto;
flex-wrap: wrap;
+ min-block-size: 64px;
padding-block: 6px;
position: static;
}
@@ -362,8 +364,14 @@ body:has([slides-editor]) {
}
[slides-head-end] {
flex: 1 1 100%;
+ flex-wrap: wrap;
+ gap: 6px;
justify-content: flex-end;
}
+ [slides-head-share] {
+ font-size: 14px;
+ padding-inline: 12px;
+ }
}
[slides-load-error] {
font-size: var(--rst-fs-sm);