Extract extensions from the button
authorChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 13:04:49 +0000 (15:04 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 15:10:50 +0000 (17:10 +0200)
client/src/app/videos/+video-edit/video-add.component.html
client/src/app/videos/+video-edit/video-add.component.scss

index f151383f1cf392ae12bd575e9758bbed65d3f7ba..7d9443209c0e0f084014eee2e422d0a9ef24fa68 100644 (file)
@@ -9,9 +9,10 @@
       <div class="icon icon-upload"></div>
 
       <div class="button-file">
-        <span i18n>Select the file to upload (.mp4, .webm, .ogv)</span>
+        <span i18n>Select the file to upload</span>
         <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" />
       </div>
+      <span class="button-file-extension">(.mp4, .webm, .ogv)</span>
 
       <div class="form-group form-group-channel">
         <label i18n for="first-step-channel">Channel</label>
index de7dec65d37f732d2408125facf961986a07a717..c0b5f3d070fe6a746c487413f9035770b68c966b 100644 (file)
       @include peertube-button-file(auto);
 
       min-width: 190px;
-      margin-bottom: 45px;
     }
+
+    .button-file-extension {
+      display: block;
+      font-size: 12px;
+      margin-top: 5px;
+    }
+  }
+
+  .form-group-channel {
+    margin-top: 35px;
   }
 }