Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: improve task sidebar icon button styling

Andrejce6a53cf69a0
diff --git a/apps/web/src/components/task/task-details-sheet.tsx b/apps/web/src/components/task/task-details-sheet.tsx
index 651b8158c..f0d80e7b5 100644
--- a/apps/web/src/components/task/task-details-sheet.tsx
+++ b/apps/web/src/components/task/task-details-sheet.tsx
@@ -80,7 +80,7 @@ export default function TaskDetailsSheet({
variant="ghost"
size="sm"
onClick={handleOpenFullPage}
- className="text-muted-foreground hover:text-foreground"
+ className="text-foreground"
>
<Maximize2 className="size-4" />
</Button>
@@ -92,7 +92,7 @@ export default function TaskDetailsSheet({
variant="ghost"
size="sm"
onClick={onClose}
- className="text-muted-foreground hover:text-foreground"
+ className="text-foreground"
>
<X className="size-4" />
</Button>
diff --git a/apps/web/src/components/task/task-properties-sidebar.tsx b/apps/web/src/components/task/task-properties-sidebar.tsx
index afb3050f3..21b086b30 100644
--- a/apps/web/src/components/task/task-properties-sidebar.tsx
+++ b/apps/web/src/components/task/task-properties-sidebar.tsx
@@ -118,14 +118,14 @@ export default function TaskPropertiesSidebar({
{/* Compact mode: properties + icons in one row */}
{compact && (
<div className="flex flex-row-reverse gap-2 w-full border-b border-border">
- <div className="flex gap-2 px-3 py-2">
+ <div className="flex px-3 py-2">
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-r-none border-r-0"
onClick={() => handleCopyTaskLink()}
>
<Copy className="size-4" />
@@ -145,9 +145,9 @@ export default function TaskPropertiesSidebar({
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-l-none"
onClick={() => handleCopyTaskBranch()}
>
<GitBranch className="size-4" />
@@ -290,14 +290,14 @@ export default function TaskPropertiesSidebar({
<>
{/* Mobile: Compact-style layout */}
<div className="flex flex-row-reverse gap-2 w-full border-b border-border lg:hidden">
- <div className="flex gap-2 px-3 py-2">
+ <div className="flex px-3 py-2">
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-r-none border-r-0"
onClick={() => handleCopyTaskLink()}
>
<Copy className="size-4" />
@@ -317,9 +317,9 @@ export default function TaskPropertiesSidebar({
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-l-none"
onClick={() => handleCopyTaskBranch()}
>
<GitBranch className="size-4" />
@@ -465,14 +465,14 @@ export default function TaskPropertiesSidebar({
<p className="text-sm font-medium text-foreground/70 flex-1">
Properties
</p>
- <div className="flex gap-2">
+ <div className="flex">
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-r-none border-r-0"
onClick={() => handleCopyTaskLink()}
>
<Copy className="size-4" />
@@ -492,9 +492,9 @@ export default function TaskPropertiesSidebar({
<Tooltip>
<TooltipTrigger asChild>
<Button
- variant="ghost"
- size="xs"
- className="text-muted-foreground"
+ variant="outline"
+ size="sm"
+ className="text-foreground rounded-l-none"
onClick={() => handleCopyTaskBranch()}
>
<GitBranch className="size-4" />