Repository navigation
Studio: restore sidebar roundness to its pre-#6349 state - #6446
Conversation
There was a problem hiding this comment.
Code Review
This pull request adjusts the border-radius styling of several buttons in the sidebar component. The reviewer suggests reverting the change to 'rounded-full' on the multi-line, auto-height sidebar menu button back to 'rounded-[14px]' to prevent visual clipping of content.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| <SidebarMenuButton | ||
| isActive={isActiveRun} | ||
| className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-[14px] pl-3 pr-7 text-[14.5px] tracking-nav font-medium" | ||
| className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-full pl-3 pr-7 text-[14.5px] tracking-nav font-medium" |
There was a problem hiding this comment.
Applying rounded-full to a multi-line, auto-height button (h-auto flex-col) can cause visual clipping of the content (such as the status dot or text) at the corners due to the large border radius of a capsule shape on a tall element. Additionally, capsule shapes are typically reserved for single-line elements. It is better to keep rounded-[14px] for these multi-line items, similar to the profile button.
| className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-full pl-3 pr-7 text-[14.5px] tracking-nav font-medium" | |
| className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-[14px] pl-3 pr-7 text-[14.5px] tracking-nav font-medium" |
|
Keeping rounded-full on the training-run item is intentional. This PR restores the sidebar radii to their pre-#6349 values, and that item was rounded-full before the redesign. The capsule does not clip content: the status dot and name sit inside the pl-3 padding and stay centered, and the dataset line has an extra pl-3.5, so both clear the rounded ends. This matches how it shipped before #6349, so leaving it as is. |
What
Put the sidebar corner radii back to what they were before the Hub redesign in #6349, and drop the profile-button radius experiment from #6443. Roundness only, no layout or behavior changes.
Restored values (expanded sidebar)
rounded-fullrounded-[10px]rounded-[14px]rounded-fullrounded-[5px](from #6443)rounded-[14px]The top nav buttons and the recents/chat rows were already back at
rounded-fullon main, so they are untouched.Notes
!rounded-fullso the avatar and toggles stay circular when the sidebar is collapsed; pre-feat(hub): full-page redesign with trending feed, search, and persisted state #6349 layout classes are left in place.