Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Prevent layout shift

Chocobozzz0900e369dbb7
diff --git a/client/src/app/+video-watch/shared/comment/video-comment.component.html b/client/src/app/+video-watch/shared/comment/video-comment.component.html
index c6dfe08a3c..acc2574829 100644
--- a/client/src/app/+video-watch/shared/comment/video-comment.component.html
+++ b/client/src/app/+video-watch/shared/comment/video-comment.component.html
@@ -52,6 +52,8 @@
[prependActions]="prependModerationActions" [buttonStyled]="false"
buttonSize="small" [account]="commentAccount" [user]="commentUser" i18n-label label="Options" placement="bottom-left auto"
></my-user-moderation-dropdown>
+ } @placeholder {
+ <span class="comment-action-options-placeholder"></span>
}
</div>
}
diff --git a/client/src/app/+video-watch/shared/comment/video-comment.component.scss b/client/src/app/+video-watch/shared/comment/video-comment.component.scss
index 17ca376cd7..406ca25b47 100644
--- a/client/src/app/+video-watch/shared/comment/video-comment.component.scss
+++ b/client/src/app/+video-watch/shared/comment/video-comment.component.scss
@@ -133,6 +133,12 @@
color: pvar(--fg);
}
}
+
+ .comment-action-options-placeholder {
+ display: inline-block;
+ width: 21px;
+ height: 21px;
+ }
}
my-video-comment-add {