Skip to content

Commit

Permalink
fix: content overflow for sidebar on smaller res
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Feb 24, 2024
1 parent 3a1dde7 commit 84260d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const SecondarySection = ({
const gridStyles = hasSidebar
? {
gridTemplateColumns: '1fr',
gridTemplateRows: `repeat(${tiles.length}, minmax(0, 135px))`,
gridTemplateRows: `repeat(${tiles.length}, minmax(0, 1fr))`,
maxHeight: '100%',
}
: {
gridTemplateRows: React.Children.count(children) > 0 ? '136px auto' : '154px',
Expand Down

0 comments on commit 84260d7

Please sign in to comment.