Skip to content

Commit 7c422ef

Browse files
ximingclaude
andcommitted
fix(web): remove header background and back button from notifications page
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2e4e3a7 commit 7c422ef

1 file changed

Lines changed: 4 additions & 26 deletions

File tree

apps/web/src/pages/notifications/index.tsx

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -89,29 +89,9 @@ export const NotificationPage = bindServices(() => {
8989
<div className="flex-1 overflow-hidden flex justify-center w-full">
9090
<div className="w-full max-w-[720px] h-full flex flex-col">
9191
{/* Header */}
92-
<div className="flex-shrink-0 bg-white dark:bg-dark-800 border-b border-gray-200 dark:border-dark-700 px-6 py-4">
93-
<div className="flex items-center justify-between">
94-
<div className="flex items-center gap-3">
95-
<button
96-
onClick={() => navigate(-1)}
97-
className="p-2 -ml-2 rounded-lg hover:bg-gray-100 dark:hover:bg-dark-700 transition-colors"
98-
>
99-
<svg
100-
className="w-5 h-5 text-gray-600 dark:text-gray-400"
101-
fill="none"
102-
stroke="currentColor"
103-
viewBox="0 0 24 24"
104-
>
105-
<path
106-
strokeLinecap="round"
107-
strokeLinejoin="round"
108-
strokeWidth={2}
109-
d="M15 19l-7-7 7-7"
110-
/>
111-
</svg>
112-
</button>
113-
<h1 className="text-lg font-semibold text-gray-900 dark:text-white">通知中心</h1>
114-
</div>
92+
<div className="flex-shrink-0 px-6 pt-4">
93+
<div className="flex items-center justify-between mb-4">
94+
<h1 className="text-lg font-semibold text-gray-900 dark:text-white">通知中心</h1>
11595
{activeTab !== 'read' && hasUnreadInCurrentTab && (
11696
<button
11797
onClick={handleMarkAllAsRead}
@@ -125,9 +105,7 @@ export const NotificationPage = bindServices(() => {
125105
</div>
126106

127107
{/* Tabs */}
128-
<div className="mt-4">
129-
<NotificationTabs activeTab={activeTab} onTabChange={setActiveTab} />
130-
</div>
108+
<NotificationTabs activeTab={activeTab} onTabChange={setActiveTab} />
131109
</div>
132110

133111
{/* Content */}

0 commit comments

Comments
 (0)