Skip to content

Commit 65d6e92

Browse files
authored
Fix repo column header styling (#344)
* fix repo column header styling * add changelog entry
1 parent e423b56 commit 65d6e92

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515
- Text highlighting clarity. [#342](https://github.com/sourcebot-dev/sourcebot/pull/342)
16+
- Fixed repo list column header styling. [#344](https://github.com/sourcebot-dev/sourcebot/pull/344)
1617
- Clean up successful and failed jobs in Redis queues. [#343](https://github.com/sourcebot-dev/sourcebot/pull/343)
1718

1819
## [4.2.0] - 2025-06-09

packages/web/src/app/[domain]/repos/columns.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ export const columns = (domain: string): ColumnDef<RepositoryColumnInfo>[] => [
182182
<DropdownMenu>
183183
<DropdownMenuTrigger asChild>
184184
<Button
185-
variant={currentFilter ? "secondary" : "ghost"}
186-
className="px-0 font-medium"
185+
variant="ghost"
186+
className={cn(
187+
"px-0 font-medium hover:bg-transparent focus:bg-transparent active:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0",
188+
currentFilter ? "text-primary hover:text-primary" : "text-muted-foreground hover:text-muted-foreground"
189+
)}
187190
>
188191
Status
189192
<ListFilter className={cn(
@@ -228,10 +231,10 @@ export const columns = (domain: string): ColumnDef<RepositoryColumnInfo>[] => [
228231
<Button
229232
variant="ghost"
230233
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
231-
className="px-0 font-medium"
234+
className="px-0 font-medium hover:bg-transparent focus:bg-transparent active:bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0"
232235
>
233236
Last Indexed
234-
<ArrowUpDown className="ml-2 h-3.5 w-3.5 text-muted-foreground" />
237+
<ArrowUpDown className="ml-2 h-3.5 w-3.5" />
235238
</Button>
236239
</div>
237240
),

0 commit comments

Comments
 (0)