summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-02-11 08:50:35 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-11 08:50:35 +0000
commit45b0eb72cde7a950579e74c62bee198e0a36acf7 (patch)
tree82f00b89e2c0d5f02f4b594a7a3f9c0536c0aa0e
parent08f664a8fbba3ee96b3fd9628fedb89f95e0e8f0 (diff)
parent6a48f187027ce3267ca78bfc57a04921963ac106 (diff)
Merge "VID S1 Instantiation failing when include supplementary file"
-rwxr-xr-x[-rw-r--r--]vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html2
-rwxr-xr-x[-rw-r--r--]vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.scss1
2 files changed, 1 insertions, 2 deletions
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
index fe7744e43..d68d21d99 100644..100755
--- a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
@@ -6,7 +6,7 @@
name="{{data?.controlName}}"
[formControl]="form?.controls[data?.controlName]"
data-toggle="toggle">
- <label class="checkbox-label"
+ <label class="checkbox-label" [ngStyle]="{'float' : data.extraContents.length > 0 ? 'left' : 'none'}"
for="{{data?.dataTestId}}">{{data?.displayName}}</label>
<div *ngFor="let extraContent of data?.extraContents" class="form-conrtols">
<div [ngSwitch]="extraContent.type">
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.scss b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.scss
index 81180e06f..005e28cc6 100644..100755
--- a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.scss
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.scss
@@ -11,7 +11,6 @@
.details-item label {
position: relative;
cursor: pointer;
- float: left;
}
.details-item label:before {