mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🐛 fix: enable vertical scrolling for topic list on mobile (#12157)
Replace `overflow: 'hidden'` with `overflowX: 'hidden', overflowY: 'auto'` on the topic list container so users can scroll through topics that exceed the viewport height on mobile devices. Closes lobehub/lobe-chat#12029
This commit is contained in:
@@ -12,7 +12,7 @@ const Topic = () => {
|
||||
<TopicSearchBar />
|
||||
<Flexbox
|
||||
height={'100%'}
|
||||
style={{ marginInline: -8, overflow: 'hidden', position: 'relative' }}
|
||||
style={{ marginInline: -8, overflowX: 'hidden', overflowY: 'auto', position: 'relative' }}
|
||||
width={'calc(100% + 16px)'}
|
||||
>
|
||||
<TopicListContent />
|
||||
|
||||
Reference in New Issue
Block a user