Improve video tag in edit form
This commit is contained in:
parent
a0d6990823
commit
cb9244de97
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<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
|
<tag-input
|
||||||
[ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
|
[ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
|
||||||
formControlName="tags" maxItems="5" modelAsStrings="true"
|
formControlName="tags" maxItems="5" modelAsStrings="true"
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.label-tags + span {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit-container {
|
.submit-container {
|
||||||
|
@ -95,6 +99,14 @@
|
||||||
border: 1px solid #C6C6C6;
|
border: 1px solid #C6C6C6;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 5px !important;
|
padding: 5px !important;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tag-input-form {
|
||||||
|
input {
|
||||||
|
height: 30px !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tag {
|
tag {
|
||||||
|
@ -120,6 +132,8 @@
|
||||||
padding-left: 6px !important;
|
padding-left: 6px !important;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
vertical-align: middle !important;
|
vertical-align: middle !important;
|
||||||
fill: #585858 !important;
|
fill: #585858 !important;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ActivityAnnounce, ActivityCreate } from '../../../../shared/models/activitypub'
|
import { ActivityAnnounce } from '../../../../shared/models/activitypub'
|
||||||
import { logger, retryTransactionWrapper } from '../../../helpers'
|
import { logger, retryTransactionWrapper } from '../../../helpers'
|
||||||
import { sequelizeTypescript } from '../../../initializers'
|
import { sequelizeTypescript } from '../../../initializers'
|
||||||
import { ActorModel } from '../../../models/activitypub/actor'
|
import { ActorModel } from '../../../models/activitypub/actor'
|
||||||
|
|
Loading…
Reference in New Issue