fix(header): collapsable header should default to using content background (#20736)

fixes #20691
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Liam DeBeasi
2020-03-11 10:52:33 -04:00
committed by GitHub
gitea-unlock(16/)
parent f796074f33
commit f6c3ba7e5a

8
core/src/components/header/header.ios.scss
View File

@@ -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;
}
@@ -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;
}
}