Skip to content

Commit d5f5f08

Browse files
frenckclaude
andcommitted
Remove unnecessary ha-md-dialog style override
The ha-md-dialog style block with only --dialog-content-padding was redundant since we control padding directly in the .summary element. Changes: - Remove ha-md-dialog CSS block - Update .summary padding from (var(--ha-space-4) 0) to var(--ha-space-6) - This provides consistent spacing without the unnecessary override 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ccbaa2d commit d5f5f08

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/panels/config/labs/dialog-labs-progress.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,13 @@ export class DialogLabsProgress
7070
}
7171

7272
static readonly styles = css`
73-
ha-md-dialog {
74-
--dialog-content-padding: var(--ha-space-6);
75-
}
7673
.summary {
7774
display: flex;
7875
flex-direction: row;
7976
column-gap: var(--ha-space-4);
8077
align-items: center;
8178
justify-content: center;
82-
padding: var(--ha-space-4) 0;
79+
padding: var(--ha-space-6);
8380
}
8481
ha-spinner {
8582
--ha-spinner-size: 60px;

0 commit comments

Comments
 (0)