Skip to content

Commit

Permalink
Fixes visual ui width bug when content was too big
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecmart committed Jul 9, 2024
1 parent ae9fe5f commit cb3c24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protolib/src/components/MainPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const MainPanel = ({ borderLess, rightPanelSize,setRightPanelSize,rightPa
}, [rightPanelResizable])

return (
<div style={{ flex: 1, display: 'flex' }}>
<div style={{ flex: 1, display: 'flex', maxWidth: '100%' }}>
{leftPanelContent && <div id="sidebar-panel-container" style={{ flex: 1, display: openPanel ? 'flex' : 'none', position: 'absolute', width: getLeftWidth(), zIndex: 99999999 }}>
<SPanel
key="sidebar"
Expand Down

0 comments on commit cb3c24a

Please sign in to comment.