ha-wa-dialog show header border on scroll (#27605)

This commit is contained in:
Wendelin
2025-10-23 15:55:46 +02:00
committed by GitHub
parent e9ca9bb781
commit e388756533
2 changed files with 21 additions and 7 deletions

View File

@@ -6,6 +6,9 @@ export class HaDialogHeader extends LitElement {
@property({ type: String, attribute: "subtitle-position" })
public subtitlePosition: "above" | "below" = "below";
@property({ type: Boolean, reflect: true, attribute: "show-border" })
public showBorder = false;
protected render() {
const titleSlot = html`<div class="header-title">
<slot name="title"></slot>