diff --git a/src/app/preview/overlays/overlays.component.css b/src/app/preview/overlays/overlays.component.css index ac94bd40..52aca7a9 100644 --- a/src/app/preview/overlays/overlays.component.css +++ b/src/app/preview/overlays/overlays.component.css @@ -25,11 +25,24 @@ width: 250px; } +#tooltip-block { + position: relative; +} + +#tooltip-block::ng-deep .dx-tooltip-wrapper { + position: initial !important; +} + #loadpanel-block { width: 240px; } +:host-context(.dx-theme-fluent-typography) #loadpanel-block { + width: 140px; +} + #tooltip-block { + height: auto; width: 140px; } diff --git a/src/app/preview/overlays/overlays.component.html b/src/app/preview/overlays/overlays.component.html index 2e7658c9..3d67934c 100644 --- a/src/app/preview/overlays/overlays.component.html +++ b/src/app/preview/overlays/overlays.component.html @@ -8,22 +8,23 @@
-
+
 
- - -

Tooltip

+ [animation]="null" + [visible]="true" + [hideOnParentScroll]="false" + [position]="{at: 'right', my: 'right'}" + [hideOnOutsideClick]="false"> +
Tooltip
- - - + - +
Tooltip content
- - - - diff --git a/src/app/preview/overlays/overlays.component.ts b/src/app/preview/overlays/overlays.component.ts index c2bee0ff..d39ce7dd 100644 --- a/src/app/preview/overlays/overlays.component.ts +++ b/src/app/preview/overlays/overlays.component.ts @@ -16,8 +16,6 @@ export class OverlaysComponent implements OnInit, OnDestroy { widgetGroup = 'overlays'; isExpanded = new BehaviorSubject(false); - isExpandedValue = false; - ofValue = '#loadpanel-target'; actionSheetData: any[] = [