Skip to content

Commit 75273d5

Browse files
authored
💄 style: modal list header sticky style (#8514)
1 parent 22e2de2 commit 75273d5

File tree

1 file changed

+3
-1
lines changed
  • src/app/[variants]/(main)/settings/provider/features/ModelList/ModelTitle

1 file changed

+3
-1
lines changed

src/app/[variants]/(main)/settings/provider/features/ModelList/ModelTitle/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ const ModelTitle = memo<ModelFetcherProps>(
5858
paddingBlock={8}
5959
style={{
6060
background: theme.colorBgContainer,
61+
marginTop: mobile ? 0 : -12,
62+
paddingTop: mobile ? 0 : 20,
6163
position: 'sticky',
62-
top: mobile ? -2 : -16,
64+
top: mobile ? -2 : -32,
6365
zIndex: 15,
6466
}}
6567
>

0 commit comments

Comments
 (0)