Skip to content

Commit

Permalink
fix(header): collapsable header should default to using content backg…
Browse files Browse the repository at this point in the history
…round (#20736)

fixes #20691
  • Loading branch information
liamdebeasi committed Mar 11, 2020
1 parent f796074 commit f6c3ba7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/src/components/header/header.ios.scss
Expand Up @@ -50,7 +50,13 @@
z-index: 1;
}

/**
* Large title toolbar should just use the content background
* since it needs to blend in with the header above it.
*/
.header-collapse-condense ion-toolbar {
--background: var(--ion-background-color, #fff);

z-index: 0;
}

Expand Down Expand Up @@ -81,4 +87,4 @@
.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,
.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse {
visibility: hidden;
}
}

0 comments on commit f6c3ba7

Please sign in to comment.