We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 407f726 commit 239142fCopy full SHA for 239142f
core/src/components/content/content.ionic.scss
@@ -2,10 +2,7 @@
2
3
// Ionic Content
4
// --------------------------------------------------
5
-
6
-ion-content {
7
8
- &.in-modal {
9
- background: inherit;
10
- }
11
-}
+
+:host(.in-modal) {
+ --background: var(--ion-bg-surface-default, var(--ion-primitives-base-white));
+}
core/src/components/header/header.ionic.scss
@@ -13,11 +13,11 @@ ion-header {
13
}
14
15
&.in-modal {
16
17
18
19
20
ion-toolbar + ion-toolbar {
21
--padding-start: #{globals.$ion-space-400};
22
--padding-end: #{globals.$ion-space-400};
23
0 commit comments