diff --git a/docs/CURRENT-STATE.md b/docs/CURRENT-STATE.md index 9ce4f4f74..88cd091ad 100644 --- a/docs/CURRENT-STATE.md +++ b/docs/CURRENT-STATE.md @@ -658,7 +658,8 @@ is a card (`src/ui/styles/visual-panel.css`) whose header row ends in an on/off pill worded in the current language. The presets and chips call the same Display store actions as the dock's Visual Presets tray, which stays on desktop and phone as before, along with Location; voice `Visual Presets` -still opens that tray. In Cockpit the groups Cockpit's Display popover takes +still opens that tray. On a phone the More sheet shows that tray right above +Visual, so Visual leaves out its own presets and chips there. In Cockpit the groups Cockpit's Display popover takes leave the panel as before and keep their own styling there. Scope has an Opacity slider (`#scope-opacity-slider`, 0–100%, default 100%) diff --git a/src/ui/styles/visual-panel.css b/src/ui/styles/visual-panel.css index 8a1339d45..0e5537d60 100644 --- a/src/ui/styles/visual-panel.css +++ b/src/ui/styles/visual-panel.css @@ -123,6 +123,12 @@ cursor: default; } +/* The phone's More sheet shows the dock's Visual Presets tray right above + Visual, so the panel leaves out its own copy there. */ +body.mobile-shell #pp-toggles .visual-presets { + display: none; +} + /* The body is display: contents, so its children are the panel's own flex items: keep them full width and unshrunk. */ #pp-toggles .pp-panel-body > * {