mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Let switches grow if text is long. fixes #577
This commit is contained in:
parent
30383d56ba
commit
83ad8534ae
@ -71,8 +71,7 @@
|
||||
switch-on-text="always"
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
[(ngModel)]="lightboxService.captionAlwaysOn">
|
||||
</bSwitch>
|
||||
</div>
|
||||
@ -89,8 +88,7 @@
|
||||
switch-on-text="always"
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
[(ngModel)]="lightboxService.facesAlwaysOn">
|
||||
</bSwitch>
|
||||
</div>
|
||||
@ -109,8 +107,7 @@
|
||||
switch-on-text="loop"
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
[(ngModel)]="lightboxService.loopVideos">
|
||||
</bSwitch>
|
||||
</div>
|
||||
|
@ -211,8 +211,7 @@
|
||||
switch-on-text="Landscape"
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
(ngModelChange)="onChange()"
|
||||
[(ngModel)]="AsOrientationQuery.landscape">
|
||||
</bSwitch>
|
||||
|
@ -62,8 +62,7 @@
|
||||
[switch-inverse]="true"
|
||||
[switch-off-text]="text.No"
|
||||
[switch-on-text]="text.Yes"
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
(change)="update()"
|
||||
[(ngModel)]="input.includeSubfolders">
|
||||
</bSwitch>
|
||||
|
@ -66,13 +66,11 @@
|
||||
switch-on-text="Enabled"
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
(ngModelChange)="onChange($event)"
|
||||
[(ngModel)]="state.value">
|
||||
</bSwitch>
|
||||
|
||||
|
||||
|
||||
<app-settings-workflow
|
||||
class="w-100"
|
||||
*ngSwitchCase="'JobScheduleConfig'"
|
||||
|
@ -14,8 +14,7 @@
|
||||
i18n-switch-off-text
|
||||
i18n-switch-on-text
|
||||
[switch-disabled]="inProgress"
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
[(ngModel)]="states.value.enabled">
|
||||
</bSwitch>
|
||||
</div>
|
||||
|
@ -131,8 +131,7 @@
|
||||
switch-off-text="Disabled"
|
||||
switch-on-text="Enabled"
|
||||
i18n-switch-off-text i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
(ngModelChange)="onChange($event)"
|
||||
[(ngModel)]="schedule.allowParallelRun">
|
||||
</bSwitch>
|
||||
@ -165,8 +164,7 @@
|
||||
switch-off-text="Disabled"
|
||||
switch-on-text="Enabled"
|
||||
i18n-switch-off-text i18n-switch-on-text
|
||||
[switch-handle-width]="100"
|
||||
[switch-label-width]="20"
|
||||
[switch-label-width]="30"
|
||||
(ngModelChange)="onChange($event)"
|
||||
[(ngModel)]="schedule.config[configEntry.id]">
|
||||
</bSwitch>
|
||||
|
Loading…
x
Reference in New Issue
Block a user