mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 18:15:35 +01:00
Fixed report issues.
This commit is contained in:
parent
414854b064
commit
79856867fb
8 changed files with 1199 additions and 2112 deletions
|
|
@ -96,8 +96,10 @@ function AddUrlButton({ onAdd }) {
|
|||
</Icon>
|
||||
</TooltipPopup>
|
||||
<Popup position="bottom" alignment="start">
|
||||
{close => {
|
||||
return <UrlAddForm onSave={onAdd} onClose={close} />;
|
||||
{(close, element) => {
|
||||
const { right, bottom } = element.getBoundingClientRect();
|
||||
|
||||
return <UrlAddForm onSave={onAdd} onClose={close} style={{ left: right, top: bottom }} />;
|
||||
}}
|
||||
</Popup>
|
||||
</PopupTrigger>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue