Skip to content

Commit

Permalink
fix: list overflow bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed May 14, 2024
1 parent f51cd58 commit 5886894
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/renderer/src/components/feed-column/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,13 @@ export function FeedColumn({
))}
</TooltipProvider>
</div>
<div className="w-full h-full overflow-x-hidden" ref={carouselRef}>
<div className="w-full h-full overflow-clip" ref={carouselRef}>
<m.div className="h-full flex" style={{ x: spring }}>
{views.map((item, index) => (
<section key={item.name} className="snap-center shrink-0">
<section
key={item.name}
className="snap-center shrink-0 overflow-y-auto"
>
<FeedList
className="w-64 px-3"
view={index}
Expand Down

0 comments on commit 5886894

Please sign in to comment.