Improve video tag in edit form
authorChocobozzz <me@florianbigard.com>
Wed, 20 Dec 2017 14:36:29 +0000 (15:36 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 20 Dec 2017 14:37:03 +0000 (15:37 +0100)
client/src/app/videos/+video-edit/shared/video-edit.component.html
client/src/app/videos/+video-edit/shared/video-edit.component.scss
server/lib/activitypub/process/process-announce.ts

index 4f92b4908fa0dc22adf558167bda0b078cd57b5d..9acbafcb673ad095da8c77def640eb62160d7811 100644 (file)
@@ -10,7 +10,7 @@
     </div>
 
     <div class="form-group">
-      <label class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span>
+      <label class="label-tags">Tags</label> <span>(press Enter to add)</span>
       <tag-input
           [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
           formControlName="tags" maxItems="5" modelAsStrings="true"
index 4f8f031cfe478a98f578f0ee3c4e94e957082e8c..81e3a0d19b634c019a99608e099b3f0662d5d092 100644 (file)
       margin-right: 10px;
     }
   }
+
+  .label-tags + span {
+    font-size: 15px;
+  }
 }
 
 .submit-container {
     border: 1px solid #C6C6C6;
     border-radius: 3px;
     padding: 5px !important;
+    height: 40px;
+  }
+
+  tag-input-form {
+    input {
+      height: 30px !important;
+      background-color: #fff !important;
+    }
   }
 
   tag {
     padding-left: 6px !important;
 
     svg {
+      position: relative;
+      top: -1px;
       height: auto !important;
       vertical-align: middle !important;
       fill: #585858 !important;
index c9738f926c0f356df641c58301d35783b510bb5d..55f8a62d2b028e99fdedc2a05dbe71dec21f5218 100644 (file)
@@ -1,4 +1,4 @@
-import { ActivityAnnounce, ActivityCreate } from '../../../../shared/models/activitypub'
+import { ActivityAnnounce } from '../../../../shared/models/activitypub'
 import { logger, retryTransactionWrapper } from '../../../helpers'
 import { sequelizeTypescript } from '../../../initializers'
 import { ActorModel } from '../../../models/activitypub/actor'