diff --git a/bundled-addons/screenshot/addon.json b/bundled-addons/screenshot/addon.json index 78fd890..c6aea6a 100644 --- a/bundled-addons/screenshot/addon.json +++ b/bundled-addons/screenshot/addon.json @@ -1,7 +1,7 @@ { "id": "screenshot", "name": "Screenshot", - "version": "0.5.0", + "version": "0.5.1", "description": "Capture the current tab — visible viewport, full page, or a rectangle you draw. Preview + annotate editor (arrow, rect, ellipse, pen, text, undo, copy, save) live inside the sidebar. Expand the sidebar to full window for a canvas-sized editor.", "author": "Silent Mode", "icon": "📸", diff --git a/bundled-addons/screenshot/editor.css b/bundled-addons/screenshot/editor.css index 6299e3c..75f420c 100644 --- a/bundled-addons/screenshot/editor.css +++ b/bundled-addons/screenshot/editor.css @@ -15,10 +15,18 @@ html, body { margin: 0; height: 100%; } body { background: var(--bg); color: var(--ink); font: 13px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; display: flex; flex-direction: column; overflow: hidden; } +/* Author styles set `display: flex` on .empty/.stage — plain [hidden] + loses the cascade fight and the "Loading capture" pill stayed visible + over the drawn image. Force-hide takes it out for real. */ +[hidden] { display: none !important; } .topbar, .toolbar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--panel); user-select: none; flex-wrap: wrap; } +/* Older versions grouped the drawing tools in the middle of the bar — keep + the drawing / swatch / width / undo cluster centred while the top-bar + (back / max / sound / name → save / copy) stays edge-anchored. */ +.toolbar { justify-content: center; } .topbar .name { color: var(--dim); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; margin: 0 4px; } .topbar .spacer, .toolbar .spacer { flex: 1; }