We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed9d1a commit fd4411dCopy full SHA for fd4411d
1 file changed
apps/web/src/components/layout.tsx
@@ -239,7 +239,7 @@ export const Layout = view(({ children }: LayoutProps) => {
239
</span>
240
)}
241
</div>
242
- <div className="overflow-y-auto max-h-80">
+ <div className="overflow-y-auto max-h-[calc(100%-120px)]">
243
{notificationService.notifications.length === 0 ? (
244
<p className="px-4 py-6 text-sm text-gray-500 dark:text-gray-400 text-center">
245
暂无通知
@@ -286,7 +286,7 @@ export const Layout = view(({ children }: LayoutProps) => {
286
))
287
288
289
- <div className="px-4 py-3 border-t border-gray-200 dark:border-dark-700">
+ <div className="px-4 py-3 border-t border-gray-200 dark:border-dark-700 sticky bottom-0 bg-white dark:bg-dark-800">
290
<button
291
onClick={() => {
292
setIsNotificationOpen(false);
0 commit comments