Skip to content

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

Fix filename overflow

Chocobozzzcfd69ee29cc4
diff --git a/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-add-modal.component.scss b/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-add-modal.component.scss
index 0a1d036068..879aabf656 100644
--- a/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-add-modal.component.scss
+++ b/client/src/app/+videos-publish-manage/shared-manage/captions/video-caption-add-modal.component.scss
@@ -1,13 +1,8 @@
-@use '_variables' as *;
-@use '_mixins' as *;
+@use "_variables" as *;
+@use "_mixins" as *;
.caption-file {
margin-top: 20px;
- width: max-content;
-
- ::ng-deep .root {
- width: max-content;
- }
}
.warning-replace-caption {
diff --git a/client/src/app/shared/shared-forms/reactive-file.component.html b/client/src/app/shared/shared-forms/reactive-file.component.html
index 4cbc336ae4..f63fb984c6 100644
--- a/client/src/app/shared/shared-forms/reactive-file.component.html
+++ b/client/src/app/shared/shared-forms/reactive-file.component.html
@@ -14,7 +14,7 @@
</div>
@if (displayFilename() === true && filename) {
- <div class="filename">{{ filename }}</div>
+ <div class="filename ellipsis">{{ filename }}</div>
}
@if (displayReset() && file) {