Skip to content

Fix Sidebar V2 narrow-width issues: hover-action overlap and disappearing logo#4464

Open
erik-bobinski wants to merge 2 commits into
pingdotgg:mainfrom
erik-bobinski:fix/sidebar-v2-ui-patches
Open

Fix Sidebar V2 narrow-width issues: hover-action overlap and disappearing logo#4464
erik-bobinski wants to merge 2 commits into
pingdotgg:mainfrom
erik-bobinski:fix/sidebar-v2-ui-patches

Conversation

@erik-bobinski

@erik-bobinski erik-bobinski commented Jul 24, 2026

Copy link
Copy Markdown

What changed

Two small fixes for Sidebar V2 (beta) at narrow sidebar widths:

  1. Hover actions no longer overlap the project title (apps/web/src/components/SidebarV2.tsx). In the card row header, the snooze/settle hover actions were absolutely positioned over a slot sized only by the small time label, so at narrow sidebar widths the buttons painted on top of the project title. The time label and the hover actions now share a single CSS grid cell: the slot is always as wide as the wider of the two, the title truncates with an ellipsis instead of being overlapped, and hover still just cross-fades the label and actions with no layout shift. Keyboard access (focus-within reveal) is unchanged.

  2. The T3 Code logo no longer disappears at narrow widths (apps/web/src/index.css). .sidebar-brand is shown by a sidebar-header container query with a 13.5rem (216px) threshold, but the sidebar can be resized down to THREAD_SIDEBAR_MIN_WIDTH = 13rem (208px). In that 208-215px band the logo vanished despite having ~100px of free space (the brand needs ~110px including the titlebar-control inset). Lowered the threshold to 12.75rem so the logo survives the sidebar's full resize range; the value stays just under the sidebar minimum to absorb the 1px border on the container's content box.

Why

Both are visible polish bugs in the Sidebar V2 beta that only reproduce when the sidebar is dragged near its minimum width.

Before / After

Sidebar at its 208px minimum width, first row hovered:

Before After
before-narrow-sidebar after-narrow-sidebar

Before: no logo in the header, and the clock + Settle buttons paint over the project title. After: logo visible, title truncates, actions sit cleanly to the right. Verified live in an isolated dev environment (measured 0px overlap between the actions and the title across both rows; previously 52px).

🤖 Generated with Claude Code


Note

Low Risk
CSS-only layout and container-query tweaks in Sidebar V2; no auth, data, or API changes.

Overview
Fixes two Sidebar V2 polish issues when the sidebar is dragged near its minimum width.

Card row header: The status/time label and snooze/settle hover actions now share a single CSS grid cell instead of absolutely stacking actions on a slot sized only by the label. The right column grows to fit the wider layer, the project title keeps truncating, and hover still cross-fades label vs actions without layout shift.

Header logo: The sidebar-header container query that shows .sidebar-brand is lowered from 13.5rem to 12.75rem so the T3 logo stays visible across the full resizable range down to THREAD_SIDEBAR_MIN_WIDTH (13rem / 208px).

Reviewed by Cursor Bugbot for commit 9888136. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix hover-action overlap and disappearing logo in narrow-width SidebarV2

  • Replaces the absolute-positioned control overlay in SidebarV2Row with a single-cell CSS grid, so the time/status label and hover/focus controls occupy the same cell without overlap.
  • Lowers the container query threshold for .sidebar-brand visibility from 13.5rem to 12.75rem in index.css, preventing the logo from disappearing at narrow sidebar widths.

Macroscope summarized 9888136.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: eb9953fc-69eb-4e86-87ce-14cc29e93f79

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Jul 24, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

Pure CSS class changes fixing sidebar layout issues - switches from absolute positioning to CSS grid and adjusts a container query breakpoint. No runtime logic changes, just visual styling fixes.

You can customize Macroscope's approvability policy. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant