Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/components/src/composite/Tabs/TabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type IReadonlySharedValue<T> = { readonly value: T };

const TAB_HOVER_STYLE = { bg: '$bgHover' } as const;
const TAB_PRESS_STYLE = { bg: '$bgActive' } as const;
const TAB_LIST_VIEW_STYLE = { flexShrink: 1 } as const;
const TAB_LIST_VIEW_STYLE = { flexGrow: 1, flexShrink: 1 } as const;
const TAB_CONTENT_CONTAINER_STYLE = { pr: 16 } as const;
const PILL_SCROLL_CONTENT_STYLE = {
px: '$pagePadding',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { EModalNotificationsRoutes } from '@onekeyhq/shared/src/routes/notificat
import useAppNavigation from '../../../hooks/useAppNavigation';
import { NotificationListViewPopover } from '../../../views/Notifications/components/NotificationListView';

const NOTIFICATION_POPOVER_FADE_STYLE = { opacity: 0 } as const;

export interface IHeaderNotificationIconButtonProps {
size?: IIconButtonProps['size'];
iconSize?: IIconButtonProps['iconSize'];
Expand Down Expand Up @@ -86,6 +88,8 @@ export function HeaderNotificationIconButton({
height: 592,
px: 0,
overflow: 'hidden',
enterStyle: NOTIFICATION_POPOVER_FADE_STYLE,
exitStyle: NOTIFICATION_POPOVER_FADE_STYLE,
}}
renderContent={
<NotificationListViewPopover
Expand Down
Loading