From 6e2f89fe3d8840f2100c0752b1465d24290e6fe0 Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Mon, 6 Oct 2025 20:32:42 +0200 Subject: [PATCH] Fix android tap highlight border radius (#27382) --- src/components/ha-button.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ha-button.ts b/src/components/ha-button.ts index 57ac10c185..ae7a8f9b6e 100644 --- a/src/components/ha-button.ts +++ b/src/components/ha-button.ts @@ -41,8 +41,7 @@ export class HaButton extends Button { return [ Button.styles, css` - .button { - /* set theme vars */ + :host { --wa-form-control-padding-inline: 16px; --wa-font-weight-action: var(--ha-font-weight-medium); --wa-form-control-border-radius: var( @@ -54,7 +53,8 @@ export class HaButton extends Button { --ha-button-height, var(--button-height, 40px) ); - + } + .button { font-size: var(--ha-font-size-m); line-height: 1;