Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

fix(frontend:recents): move user avatar tooltip container to body to fix overlap with card

johaven50299116b627
diff --git a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
index 54ba1f60..5559ae27 100644
--- a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
+++ b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
@@ -13,7 +13,7 @@
<ul class="products-list product-list-in-box" [class.border-0]="last">
<li (click)="goToFile(c)" class="item">
<div style="margin-right: 0.5rem;">
- <app-user-avatar [user]="c.author"></app-user-avatar>
+ <app-user-avatar [user]="c.author" [container]="'body'"></app-user-avatar>
</div>
<div class="product-info">
<span class="product-title">
diff --git a/frontend/src/styles/components/_products.scss b/frontend/src/styles/components/_products.scss
index 550d611e..f2c7c7b0 100644
--- a/frontend/src/styles/components/_products.scss
+++ b/frontend/src/styles/components/_products.scss
@@ -14,7 +14,7 @@
> .item {
display: flex;
align-items: center;
- padding: 3px 64px 3px 8px;
+ padding: 3px 68px 3px 8px;
@extend .text-truncate;
}