Skip to content

fix(ui): unify macOS shell top inset with sidebar/background surface#702

Merged
appergb merged 1 commit into
betafrom
fix/macos-shell-top-unified
Jun 17, 2026
Merged

fix(ui): unify macOS shell top inset with sidebar/background surface#702
appergb merged 1 commit into
betafrom
fix/macos-shell-top-unified

Conversation

@appergb

@appergb appergb commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

User description

What

Fixes the macOS-only "extra row at the top" of the main window: the sidebar/background and the title-bar strip now read as one continuous surface (matching the Windows look), with the panel card floating on top.

Root cause

The 28px top inset that clears the macOS overlay traffic lights sits on the content wrapper in FloatingShell. That wrapper had no background, so the inset exposed the lighter WindowChrome glass (--ol-window-bg) as a full-width band above the sidebar and panel — reading as an extra top row. The Windows build has no inset (paddingTop: 0), so it never showed this.

This is not a regression from a single PR — the 28px inset has existed since 1.3.8. What made the band visible was the beta theme refresh (Aura skin removed → new white-glass tokens), which changed --ol-window-bg vs the shell surface.

Fix

Paint the content wrapper with the same --ol-app-shell-bg token the sidebar/background already use, so the inset blends into one continuous surface.

- paddingTop: mobile ? 0 : os === 'mac' ? 28 : 0 }}>
+ paddingTop: mobile ? 0 : os === 'mac' ? 28 : 0, background: 'var(--ol-app-shell-bg)' }}>
  • One property. No layout, token, or other UI changes.
  • The token carries its own light + dark values, so dark mode is unaffected.
  • On Windows/Linux/mobile the inset is 0px, so the wrapper background is never visible there — behavior unchanged on those platforms.

Test plan

  • npx tsc --noEmit — clean
  • dev-server visual check on macOS — top band now blends with sidebar/background
  • local macOS release build + install — verified in the running app
  • CI: Linux / Windows / macOS / Android build jobs

Base: beta.


PR Type

Bug fix


Description

  • Add background to content wrapper to blend with sidebar/background

  • Fixes visible band above sidebar/panel on macOS

  • One-line change; no layout or token modifications


Diagram Walkthrough

flowchart LR
  A["Content wrapper (no bg)"] -- "exposed top inset band" --> B["Extra row visible"]
  C["Content wrapper (var(--ol-app-shell-bg))"] -- "blends with sidebar/background" --> D["Continuous surface"]
Loading

File Walkthrough

Relevant files
Bug fix
FloatingShell.tsx
Add shell background to content wrapper                                   

openless-all/app/src/components/FloatingShell.tsx

  • Added background: 'var(--ol-app-shell-bg)' to the content wrapper div
  • Ensures the 28px top inset on macOS blends with the sidebar/background
    surface
  • No other layout or style changes
+1/-1     

The 28px top inset that clears the macOS overlay traffic lights sat on the
content wrapper with no background, so it exposed the lighter WindowChrome
glass (--ol-window-bg) as a full-width band above the sidebar and panel —
reading as an extra top row that the Windows build (no inset) doesn't have.

Paint that wrapper with the same --ol-app-shell-bg the sidebar/background
already use, so the inset blends into one continuous surface with the panel
card floating on top. One property; token carries its own light + dark
values; no layout, token, or other UI changes.
@github-actions

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@appergb appergb merged commit 4903f44 into beta Jun 17, 2026
5 checks passed
@appergb appergb deleted the fix/macos-shell-top-unified branch June 17, 2026 09:41
appergb pushed a commit that referenced this pull request Jun 17, 2026
…ing accessibility gate

Bundles the two macOS UX fixes already merged into beta:
- #702 unify macOS shell top inset with sidebar/background surface
- #703 require macOS Accessibility grant before first-run onboarding completes

Version synced across package.json, package-lock.json, tauri.conf.json,
Cargo.toml, Cargo.lock. Local release build verified (1.3.10-2 installs and
runs; top bar seamless; first-run requires Accessibility).
appergb pushed a commit that referenced this pull request Jun 17, 2026
Re-cut of the 1.3.10-2 beta from the synced cloud beta branch (supersedes the
-2 pre-release, which was deleted). Identical code to 1.3.10-2 — version-number
bump only. Bundles #701 persistence split, #702 top-bar unification, #703
onboarding accessibility gate, on top of 1.3.10-1 audit fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant