Skip to content

Commit

Permalink
Fix feed tabs on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Jan 3, 2024
1 parent 52874ad commit fa77ceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/builddao/widget/aside.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Container = styled.div`
const TabButton = styled.button`
all: unset;
display: flex;
flex-shrink: 0;
padding: 8px 12px;
align-items: center;
gap: 10px;
Expand Down Expand Up @@ -66,7 +67,7 @@ const TabButton = styled.button`

return (
<Container>
{ Object.keys(props.feeds || {}).map((feed) => (
{Object.keys(props.feeds || {}).map((feed) => (
<TabButton
className={props.currentFeed === feed && "active"}
onClick={() => props.setCurrentFeed(feed)}
Expand Down

0 comments on commit fa77ceb

Please sign in to comment.