From 47de0cb17c2b419e437c28725fee689c528e7325 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=87etin?=
<69278826+cetincakiroglu@users.noreply.github.com>
Date: Wed, 8 Jan 2025 17:25:36 +0300
Subject: [PATCH] fix: button height issue, fixes #17328
---
packages/primeng/src/button/button.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/packages/primeng/src/button/button.ts b/packages/primeng/src/button/button.ts
index 68733e6c9d..7b95df3ba2 100755
--- a/packages/primeng/src/button/button.ts
+++ b/packages/primeng/src/button/button.ts
@@ -436,7 +436,6 @@ export class ButtonDirective extends BaseComponent implements AfterViewInit, OnD
[attr.type]="type"
[attr.aria-label]="ariaLabel"
[ngStyle]="style"
- style="height:100%"
[disabled]="disabled || loading"
[ngClass]="buttonClass"
(click)="onClick.emit($event)"
@@ -461,7 +460,7 @@ export class ButtonDirective extends BaseComponent implements AfterViewInit, OnD
- {{ label }}
+ {{ label || 'nbsp;' }}
`,