Fix dialpad positioning (#7446)
This commit is contained in:
parent
5096455f64
commit
38ba198fea
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ import DialpadContextMenu from "../../context_menus/DialpadContextMenu";
|
||||||
import { Alignment } from "../../elements/Tooltip";
|
import { Alignment } from "../../elements/Tooltip";
|
||||||
import {
|
import {
|
||||||
alwaysAboveLeftOf,
|
alwaysAboveLeftOf,
|
||||||
alwaysAboveRightOf,
|
|
||||||
ChevronFace,
|
ChevronFace,
|
||||||
ContextMenuTooltipButton,
|
ContextMenuTooltipButton,
|
||||||
} from '../../../structures/ContextMenu';
|
} from '../../../structures/ContextMenu';
|
||||||
|
@ -175,7 +174,7 @@ export default class CallViewButtons extends React.Component<IProps, IState> {
|
||||||
let dialPad;
|
let dialPad;
|
||||||
if (this.state.showDialpad) {
|
if (this.state.showDialpad) {
|
||||||
dialPad = <DialpadContextMenu
|
dialPad = <DialpadContextMenu
|
||||||
{...alwaysAboveRightOf(
|
{...alwaysAboveLeftOf(
|
||||||
this.dialpadButton.current.getBoundingClientRect(),
|
this.dialpadButton.current.getBoundingClientRect(),
|
||||||
ChevronFace.None,
|
ChevronFace.None,
|
||||||
CONTEXT_MENU_VPADDING,
|
CONTEXT_MENU_VPADDING,
|
||||||
|
|
Loading…
Reference in a new issue