Skip to content

Commit

Permalink
add flex-end to toggle-button in background-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
wendevlin committed Jan 7, 2025
1 parent 6ef799b commit 38e47c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ha-button-toggle-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class HaButtonToggleGroup extends LitElement {
--mdc-icon-button-size: var(--button-toggle-size, 36px);
--mdc-icon-size: var(--button-toggle-icon-size, 20px);
direction: ltr;
justify-content: var(--toggle-button-group-justify-content);
}
mwc-button {
--mdc-shape-small: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export class HuiViewBackgroundEditor extends LitElement {
return css`
:host {
display: block;
--toggle-button-group-justify-content: flex-end;
}
`;
}
Expand Down

0 comments on commit 38e47c4

Please sign in to comment.