mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: face label clipping (#30712)
This commit is contained in:
parent
927b4d0ea2
commit
d1662fb2b6
1 changed files with 3 additions and 1 deletions
|
|
@ -273,7 +273,9 @@
|
|||
<div
|
||||
aria-hidden="true"
|
||||
class="absolute rounded-sm bg-white/90 px-2 py-1 text-sm font-medium whitespace-nowrap text-black shadow-lg"
|
||||
style="top: {boundingbox.height + 4}px; right: 0;"
|
||||
style="top: {boundingbox.height + 4}px; right: {assetViewerManager.imgRef
|
||||
? Math.max(boundingbox.left + boundingbox.width - assetViewerManager.imgRef.clientWidth, 0)
|
||||
: 0}px;"
|
||||
>
|
||||
{boundingbox.name}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue