Improve video tag in edit form

pull/177/head
Chocobozzz 2017-12-20 15:36:29 +01:00
parent a0d6990823
commit cb9244de97
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 16 additions and 2 deletions

View 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"

View File

@ -43,6 +43,10 @@
margin-right: 10px;
}
}
.label-tags + span {
font-size: 15px;
}
}
.submit-container {
@ -95,6 +99,14 @@
border: 1px solid #C6C6C6;
border-radius: 3px;
padding: 5px !important;
height: 40px;
}
tag-input-form {
input {
height: 30px !important;
background-color: #fff !important;
}
}
tag {
@ -120,6 +132,8 @@
padding-left: 6px !important;
svg {
position: relative;
top: -1px;
height: auto !important;
vertical-align: middle !important;
fill: #585858 !important;

View 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'