Skip to content

Commit

Permalink
fix bottom panel being able to go beyond the viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Sep 20, 2023
1 parent 9fc9b14 commit f1a276e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/manager/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const LayoutContainer = styled.div<LayoutState>(
display: 'grid',
gap: 0,
gridTemplateColumns: `minmax(0, ${navSize}px) minmax(${MINIMUM_CONTENT_WIDTH_PX}px, 1fr) minmax(0, ${rightPanelWidth}px)`,
gridTemplateRows: `1fr ${bottomPanelHeight}px`,
gridTemplateRows: `1fr minmax(0, ${bottomPanelHeight}px)`,
gridTemplateAreas: (() => {
if (viewMode === 'docs') {
// remove panel in docs viewMode
Expand Down

0 comments on commit f1a276e

Please sign in to comment.