fix: adjust padding in item container style for improved layout

This commit is contained in:
suyao 2025-12-05 17:21:44 +08:00
parent f8428df247
commit fa9e34c563
No known key found for this signature in database

View File

@ -404,7 +404,7 @@ const NotesSidebar: FC<NotesSidebarProps> = ({
ref={virtualListRef} ref={virtualListRef}
list={flattenedNodes} list={flattenedNodes}
estimateSize={() => 28} estimateSize={() => 28}
itemContainerStyle={{ padding: '0 8px' }} itemContainerStyle={{ padding: '8px 8px 0 8px' }}
overscan={10} overscan={10}
isSticky={isSticky} isSticky={isSticky}
getItemDepth={getItemDepth}> getItemDepth={getItemDepth}>