Skip to content

Commit

Permalink
Fix add top badge position
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Feb 17, 2025
1 parent 7235d01 commit 702de26
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/panels/lovelace/sections/hui-heading-section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,26 @@ export class HeadingSection
}
}
.layout.badges-top {
flex-direction: column-reverse;
}
.layout.badges-top.has-badges {
margin-top: 0;
}
.layout.badges-top.extra-space {
margin-top: var(--spacing);
}
@media (min-width: 768px) {
.layout.responsive.badges-top.has-heading {
flex-direction: row;
align-items: flex-start;
margin-top: var(--spacing);
}
}
.container.edit-mode {
padding: 8px;
border-radius: var(--ha-card-border-radius, 12px);
Expand Down

0 comments on commit 702de26

Please sign in to comment.