Fix some components after Angular 6 upgrade

This commit is contained in:
Chocobozzz 2018-05-15 16:23:44 +02:00
parent db400f447a
commit e998cf3cc7
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
7 changed files with 10 additions and 10 deletions

View File

@ -65,7 +65,7 @@
"linkifyjs": "^2.1.5", "linkifyjs": "^2.1.5",
"lodash-es": "^4.17.4", "lodash-es": "^4.17.4",
"markdown-it": "^8.4.0", "markdown-it": "^8.4.0",
"ngx-bootstrap": "2.0.3", "ngx-bootstrap": "2.0.5",
"ngx-chips": "1.9.2", "ngx-chips": "1.9.2",
"ngx-clipboard": "11.0.0", "ngx-clipboard": "11.0.0",
"ngx-pipes": "^2.1.7", "ngx-pipes": "^2.1.7",

View File

@ -9,6 +9,7 @@
background-image: url('../../../assets/images/global/help.svg'); background-image: url('../../../assets/images/global/help.svg');
background-color: #fff; background-color: #fff;
border: none; border: none;
margin: 5px;
} }
/deep/ { /deep/ {

View File

@ -14,7 +14,7 @@
<div class="form-group"> <div class="form-group">
<label class="label-tags">Tags</label> <span>(press Enter to add)</span> <label class="label-tags">Tags</label> <span>(press Enter to add)</span>
<tag-input <tag-input
[ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
formControlName="tags" maxItems="5" modelAsStrings="true" formControlName="tags" maxItems="5" modelAsStrings="true"
></tag-input> ></tag-input>
</div> </div>

View File

@ -5,10 +5,6 @@
@include peertube-select-container(auto); @include peertube-select-container(auto);
} }
.form-group-checkbox {
my-help { margin-left: 5px }
}
.video-edit { .video-edit {
height: 100%; height: 100%;

View File

@ -30,7 +30,6 @@ export class VideoEditComponent implements OnInit {
@Input() videoPrivacies = [] @Input() videoPrivacies = []
@Input() userVideoChannels = [] @Input() userVideoChannels = []
tags: string[] = []
videoCategories = [] videoCategories = []
videoLicences = [] videoLicences = []
videoLanguages = [] videoLanguages = []

View File

@ -227,6 +227,10 @@ p-table {
width: 250px !important; width: 250px !important;
padding: 0 !important; padding: 0 !important;
text-align: center; text-align: center;
my-edit-button + my-delete-button {
margin-left: 5px;
}
} }
p-paginator { p-paginator {

View File

@ -5464,9 +5464,9 @@ ng2-material-dropdown@0.10.0:
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"
ngx-bootstrap@2.0.3: ngx-bootstrap@2.0.5:
version "2.0.3" version "2.0.5"
resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.3.tgz#b8ca4be305be4e2e99f60d941cc8a3e906f198d7" resolved "https://registry.yarnpkg.com/ngx-bootstrap/-/ngx-bootstrap-2.0.5.tgz#83aab39d1e4fe811fad2b34f7927f9ce19d68daa"
ngx-chips@1.9.2: ngx-chips@1.9.2:
version "1.9.2" version "1.9.2"