aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master')
-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 {