mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 09:13:08 +00:00
How many Devs does it take to center a navbar icon? 3, as it turns out.
This commit is contained in:
@@ -207,10 +207,11 @@ const BugReportButton = ({
|
|||||||
<button
|
<button
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
className={cn(
|
className={cn(
|
||||||
"titlebar-no-drag p-1.5 rounded-lg",
|
"titlebar-no-drag px-3 py-2.5 rounded-xl",
|
||||||
"text-muted-foreground hover:text-foreground hover:bg-accent/80",
|
"text-muted-foreground hover:text-foreground hover:bg-accent/80",
|
||||||
|
"border border-transparent hover:border-border/40",
|
||||||
"transition-all duration-200 ease-out",
|
"transition-all duration-200 ease-out",
|
||||||
"hover:scale-105 active:scale-95",
|
"hover:scale-[1.02] active:scale-[0.97]",
|
||||||
sidebarExpanded && "absolute right-3"
|
sidebarExpanded && "absolute right-3"
|
||||||
)}
|
)}
|
||||||
title="Report Bug / Feature Request"
|
title="Report Bug / Feature Request"
|
||||||
@@ -1439,7 +1440,7 @@ export function Sidebar() {
|
|||||||
|
|
||||||
{/* Project Actions - Moved above project selector */}
|
{/* Project Actions - Moved above project selector */}
|
||||||
{sidebarOpen && (
|
{sidebarOpen && (
|
||||||
<div className="flex items-center gap-2.5 titlebar-no-drag px-3 mt-4">
|
<div className="flex items-center gap-2.5 titlebar-no-drag px-3 mt-5">
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowNewProjectModal(true)}
|
onClick={() => setShowNewProjectModal(true)}
|
||||||
className={cn(
|
className={cn(
|
||||||
@@ -1811,7 +1812,7 @@ export function Sidebar() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Nav Items - Scrollable */}
|
{/* Nav Items - Scrollable */}
|
||||||
<nav className={cn("flex-1 overflow-y-auto px-3 pb-2", sidebarOpen ? "mt-5" : "mt-1.5")}>
|
<nav className={cn("flex-1 overflow-y-auto px-3 pb-2", sidebarOpen ? "mt-5" : "mt1")}>
|
||||||
{!currentProject && sidebarOpen ? (
|
{!currentProject && sidebarOpen ? (
|
||||||
// Placeholder when no project is selected (only in expanded state)
|
// Placeholder when no project is selected (only in expanded state)
|
||||||
<div className="flex items-center justify-center h-full px-4">
|
<div className="flex items-center justify-center h-full px-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user