Skip to content

Commit

Permalink
Merge pull request #9 from red-ninjas/hotfix/mobile-menu-root-node
Browse files Browse the repository at this point in the history
Fixed bottom dropdown for root node and leaf nodes
  • Loading branch information
kalysti authored Nov 1, 2023
2 parents 8348548 + 7dd7bec commit c82e03b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/mobile-menu/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const NavigationItem: React.FC<PropsWithChildren<NavigationItemProps>> = ({ url
</a>
</Link>
</div>
<style jsx>{`
<style jsx global>{`
.item {
display: flex;
box-sizing: border-box;
Expand All @@ -56,6 +56,11 @@ const NavigationItem: React.FC<PropsWithChildren<NavigationItemProps>> = ({ url
height: ${SCALES.height(1, 'auto')};
padding: ${SCALES.pt(0.875)} ${SCALES.pr(0.55)} ${SCALES.pb(0.875)} ${SCALES.pl(0.55)};
margin: ${SCALES.mt(0)} ${SCALES.mr(0)} ${SCALES.mb(0)} ${SCALES.ml(0)};
border-bottom: 1px solid ${theme.palette.border};
}
.sub-group-inner .item {
border-bottom: unset;
}
.item:hover {
Expand Down

0 comments on commit c82e03b

Please sign in to comment.