diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings.component.ts index 8b1e18a917..8ed3112a9e 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings.component.ts @@ -135,7 +135,7 @@ export class GetValueActionSettingsComponent implements OnInit, ControlValueAcce renderer: this.renderer, componentType: GetValueActionSettingsPanelComponent, hostView: this.viewContainerRef, - preferredPlacement: ['leftTopOnly', 'leftOnly', 'leftBottomOnly'], + preferredPlacement: 'leftBottom', context: { getValueSettings: this.modelValue, panelTitle: this.panelTitle, @@ -147,7 +147,8 @@ export class GetValueActionSettingsComponent implements OnInit, ControlValueAcce targetDevice: this.targetDevice, widgetType: this.widgetType }, - isModal: true + isModal: true, + overlayStyle: { maxHeight: '70vh', height: '100%' } }); getValueSettingsPanelPopover.tbComponentRef.instance.popover = getValueSettingsPanelPopover; getValueSettingsPanelPopover.tbComponentRef.instance.getValueSettingsApplied.subscribe((getValueSettings) => { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts index 6e9950033b..a869072f41 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts @@ -121,7 +121,7 @@ export class SetValueActionSettingsComponent implements OnInit, ControlValueAcce renderer: this.renderer, componentType: SetValueActionSettingsPanelComponent, hostView: this.viewContainerRef, - preferredPlacement: ['leftTopOnly', 'leftOnly', 'leftBottomOnly'], + preferredPlacement: 'leftBottom', context: { setValueSettings: this.modelValue, panelTitle: this.panelTitle, @@ -130,7 +130,8 @@ export class SetValueActionSettingsComponent implements OnInit, ControlValueAcce targetDevice: this.targetDevice, widgetType: this.widgetType }, - isModal: true + isModal: true, + overlayStyle: { maxHeight: '70vh', height: '100%' } }); setValueSettingsPanelPopover.tbComponentRef.instance.popover = setValueSettingsPanelPopover; setValueSettingsPanelPopover.tbComponentRef.instance.setValueSettingsApplied.subscribe((setValueSettings) => { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings.component.ts index 737fafd75a..137651a977 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings.component.ts @@ -120,7 +120,7 @@ export class WidgetActionSettingsComponent implements OnInit, ControlValueAccess renderer: this.renderer, componentType: WidgetActionSettingsPanelComponent, hostView: this.viewContainerRef, - preferredPlacement: ['leftTopOnly', 'leftOnly', 'leftBottomOnly'], + preferredPlacement: 'leftBottom', context: { widgetAction: this.modelValue, panelTitle: this.panelTitle, @@ -128,7 +128,8 @@ export class WidgetActionSettingsComponent implements OnInit, ControlValueAccess callbacks: this.callbacks, additionalWidgetActionTypes: this.additionalWidgetActionTypes }, - isModal: true + isModal: true, + overlayStyle: { maxHeight: '70vh', height: '100%' } }); widgetActionSettingsPanelPopover.tbComponentRef.instance.widgetActionApplied.subscribe((widgetAction) => { widgetActionSettingsPanelPopover.hide();