Skip to content

Commit a25be7f

Browse files
authored
fix: panels menu should only open downwards (#1340)
Noticed it would shift left sometimes if window is really short. Only allow it to open downwards.
1 parent a4677eb commit a25be7f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/code-studio/src/main/AppMainContainer.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,9 @@ export class AppMainContainer extends Component<
867867
isShown={isPanelsMenuShown}
868868
className="panels-menu-popper"
869869
onExited={this.handleWidgetsMenuClose}
870+
options={{
871+
placement: 'bottom',
872+
}}
870873
closeOnBlur
871874
interactive
872875
>

0 commit comments

Comments
 (0)