mirror of https://github.com/Chocobozzz/PeerTube
Add tooltip on caption upload to specify which formats are supported
parent
988af781ac
commit
36d0677ec9
|
@ -23,6 +23,7 @@
|
|||
<my-reactive-file
|
||||
formControlName="captionfile" inputName="captionfile" i18n-inputLabel inputLabel="Select the caption file"
|
||||
[extensions]="videoCaptionExtensions" [maxFileSize]="videoCaptionMaxSize" [displayFilename]="true"
|
||||
i18n-ngbTooltip [ngbTooltip]="'(extensions: ' + videoCaptionExtensions.join(', ') + ')'"
|
||||
></my-reactive-file>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
|
||||
.caption-file {
|
||||
margin-top: 20px;
|
||||
width: max-content;
|
||||
|
||||
::ng-deep .root {
|
||||
width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.warning-replace-caption {
|
||||
|
|
Loading…
Reference in New Issue