Skip to content

Commit

Permalink
Fix menu positioning to be below the clicked element (#38554)
Browse files Browse the repository at this point in the history
  • Loading branch information
avatus authored Feb 26, 2024
1 parent c6fa0c4 commit 1231fb6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/packages/shared/components/AwsLaunchButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class AwsLaunchButton extends React.Component<Props> {
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
getContentAnchorEl={null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class MenuActionIcon extends React.Component<
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
{...menuProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class MenuActionIcon extends React.Component<
open={open}
onClose={this.onClose}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'center',
}}
transformOrigin={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const NodeConnect = ({ node }: { node: Node }) => {
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
/>
Expand Down Expand Up @@ -129,7 +129,7 @@ const DesktopConnect = ({ desktop }: { desktop: Desktop }) => {
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function ConnectServerActionButton(props: {
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
/>
Expand Down Expand Up @@ -167,7 +167,7 @@ export function ConnectDatabaseActionButton(props: {
horizontal: 'right',
}}
anchorOrigin={{
vertical: 'center',
vertical: 'bottom',
horizontal: 'right',
}}
/>
Expand Down

0 comments on commit 1231fb6

Please sign in to comment.