Skip to content

Commit

Permalink
fix toolbar not fullscreen if hideSidebar is true (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfonso authored Jul 31, 2024
1 parent 010807c commit 45058e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/plugin/frontend-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const AutoSettingsMixin = (SuperClass) => {
if (settings.hideSidebar === true) {
selectTree(
document.body,
"home-assistant $ home-assistant-main $ ha-drawer"
"home-assistant $ home-assistant-main"
).then((el) => el?.style?.setProperty("--mdc-drawer-width", "0px"));
selectTree(
document.body,
Expand Down

0 comments on commit 45058e0

Please sign in to comment.