Skip to content

Commit b612bc1

Browse files
committed
fix: add title in SidebarHeader and add border styles in FullPost
1 parent 4f21317 commit b612bc1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/SidebarHeader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export function SidebarHeader() {
6464
onClick={() => mode.value = mode.value === 'full' ? 'compact' : 'full'}
6565
class="p-1 rounded-full text-gray-500 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:focus:ring-gray-700"
6666
aria-label="Toggle view mode"
67+
title="Toggle view mode"
6768
>
6869
{mode.value === 'full' ? (
6970
<Icon name="rectangleStack" className="h-4 w-4" />

components/post/FullPost.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function FullPost({ post }: FullPostProps) {
1717

1818
return (
1919
<article
20-
className="border-b p-4 hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"
20+
className="border-b border-gray-300 dark:border-gray-600 p-4 hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors"
2121
>
2222
<div className="flex flex-col gap-2">
2323
<div className="flex items-center">

0 commit comments

Comments
 (0)