Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix(studio): center header menu dots without enlarging them (#15534)

Wasim Yousef Said6e8220e2d5e9
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 122d1c0c9a2..d406a27b452 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -4562,7 +4562,8 @@ export function AppSidebar() {
aria-label={options.ariaLabel}
className="sidebar-header-action"
>
- <HugeiconsIcon icon={MoreHorizontalCenteredIcon} strokeWidth={1.75} className="size-icon" />
+ {/* Share the circle's viewport; the expanded viewBox preserves the original icon size. */}
+ <HugeiconsIcon icon={MoreHorizontalCenteredIcon} strokeWidth={1.75} viewBox="-4 -4 32 32" className="size-full" />
</button>
)}
>
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index c42f91af44a..b02cae397bd 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -2274,11 +2274,6 @@ html[data-chat-font] .aui-root {
.sidebar-header-action:hover {
background-color: var(--nav-surface-hover);
}
- /* Even-sized glyphs keep the inset inside the 20px circle on whole pixels. */
- .sidebar-header-action > svg {
- width: round(nearest, var(--icon-size), 2px);
- height: round(nearest, var(--icon-size), 2px);
- }
@media (pointer: coarse) {
.sidebar-header-action {
@apply opacity-100 pointer-events-auto;