Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
Fix background for single view layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Jul 7, 2019
1 parent 2fbe77f commit 1bb0033
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compact-custom-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ function styleHeader(tabContainer, tabs, header) {
);
header.style.background =
cchConfig.background || cchThemeBg || "var(--primary-color)";
if (!tabContainer) {
header.querySelector("app-toolbar").style.background =
cchConfig.background || cchThemeBg || "var(--primary-color)";
}
}

let indicator = cchConfig.tab_indicator_color;
Expand Down

0 comments on commit 1bb0033

Please sign in to comment.