File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
packages/primeng/src/popover Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const POPOVER_INSTANCE = new InjectionToken<Popover>('POPOVER_INSTANCE');
5353 <div
5454 [pBind]="ptm('root')"
5555 [class]="cn(cx('root'), styleClass)"
56+ [style]="sx('root')"
5657 [ngStyle]="style"
5758 (click)="onOverlayClick($event)"
5859 role="dialog"
Original file line number Diff line number Diff line change 11import { Injectable } from '@angular/core' ;
2- import { style as popover_style } from '@primeuix/styles/popover' ;
2+ import { style } from '@primeuix/styles/popover' ;
33import { BaseStyle } from 'primeng/base' ;
44
5- const style = /*css*/ `
6- ${ popover_style }
7- /*For PrimeNG*/
8- .p-popover {
9- position: absolute;
10- }` ;
5+ const inlineStyles = {
6+ root : ( ) => ( { position : 'absolute' } )
7+ } ;
118
129const classes = {
1310 root : 'p-popover p-component' ,
@@ -21,4 +18,6 @@ export class PopoverStyle extends BaseStyle {
2118 style = style ;
2219
2320 classes = classes ;
21+
22+ inlineStyles = inlineStyles ;
2423}
You can’t perform that action at this time.
0 commit comments