diff options
| author | tess <me@thvxl.se> | 2024-11-12 22:09:37 +0100 |
|---|---|---|
| committer | tess <me@thvxl.se> | 2024-11-12 22:09:37 +0100 |
| commit | 68e5b5a84a8ea088f7375eb1056218c4bcf2b05a (patch) | |
| tree | be3354742921530ba53cd8faf098afd8200e5b66 /packages/frontend/src/components | |
| parent | tweak popup left margin for consistency (diff) | |
| download | sharkey-68e5b5a84a8ea088f7375eb1056218c4bcf2b05a.tar.gz sharkey-68e5b5a84a8ea088f7375eb1056218c4bcf2b05a.tar.bz2 sharkey-68e5b5a84a8ea088f7375eb1056218c4bcf2b05a.zip | |
Set horizontal margin for even better consistency
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkUserPopup.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkUserPopup.vue b/packages/frontend/src/components/MkUserPopup.vue index e98a8b85e9..4ae23de62c 100644 --- a/packages/frontend/src/components/MkUserPopup.vue +++ b/packages/frontend/src/components/MkUserPopup.vue @@ -119,7 +119,7 @@ onMounted(() => { } const rect = props.source.getBoundingClientRect(); - const x = Math.max(2, ((rect.left + (props.source.offsetWidth / 2)) - (300 / 2)) + window.scrollX); + const x = Math.max(1, ((rect.left + (props.source.offsetWidth / 2)) - (300 / 2)) + window.scrollX); const y = rect.top + props.source.offsetHeight + window.scrollY; top.value = y; |