aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components
diff options
context:
space:
mode:
authorYoav Schneiderman <yoav.schneiderman@intl.att.com>2020-02-11 10:27:28 +0200
committerYoav Schneiderman <yoav.schneiderman@intl.att.com>2020-02-11 10:27:28 +0200
commit6a48f187027ce3267ca78bfc57a04921963ac106 (patch)
treee0d215cb847c52bb7834b50b845f71799d48f45a /vid-webpack-master/src/app/shared/components
parentb4b88310c73f9faa15bbe8ad0ed6213660f6f52c (diff)
VID S1 Instantiation failing when include supplementary file
Issue-ID: VID-772 Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Change-Id: Ie60538fd2abffbf3555650e584aad19a8d7ca1ec
Diffstat (limited to 'vid-webpack-master/src/app/shared/components')
-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 {