-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfirmDialog: icon has wrong size #17087
Comments
Hello team, I tried to find reason for this: .pi {
font-size: var(--p-icon-size);
} Also I have noticed some components uses both @if (iconTemplate || _iconTemplate) {
<ng-template *ngTemplateOutlet="iconTemplate || _iconTemplate"></ng-template>
} @else if (!iconTemplate && !_iconTemplate && !_messageTemplate && !messageTemplate) {
<i [ngClass]="cx('icon')" [class]="option('icon')" *ngIf="option('icon')"></i>
} Also I think such usage should be removed by refactoring code in v20. |
Hello, Facing same issue and made the same remark as @imaksp. The issue is not noticeable in the documentation page as the order of the styles is probably different. |
Hi all, as a workaround you can add this to your style.css file, it should fix priority issue: .p-confirmdialog-icon {
font-size: var(--p-confirmdialog-icon-size);
} |
I’m experiencing the same issue. Notably, a hard refresh temporarily resolves it. |
Fixed #17087 | ConfirmDialog: icon has wrong size
Describe the bug
The icon in the confirmation dialog has the wrong size when the InputGroupAddonModule is used.
Environment
NA
Reproducer
https://stackblitz.com/edit/github-n6fwtktk-1dgsramq
Angular version
18.2.x
PrimeNG version
18.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.14.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: