Skip to content

Commit 125bbcd

Browse files
committed
fix(card): add global styles for ionic theme
1 parent 93dcb43 commit 125bbcd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

core/src/css/core.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ ion-card-header.ion-color .ion-inherit-color {
242242
color: inherit;
243243
}
244244

245+
ion-card-header + ion-card-content {
246+
padding-top: 0;
247+
}
248+
245249
// Menu Styles
246250
// --------------------------------------------------
247251

@@ -433,7 +437,3 @@ h1[tabindex="-1"]:focus,
433437
overflow: hidden;
434438
}
435439
}
436-
437-
ion-card-header + ion-card-content {
438-
padding-top: 0;
439-
}

core/src/css/ionic/core.ionic.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ ion-card-header.ion-color .ion-inherit-color {
238238
color: inherit;
239239
}
240240

241+
ion-card-header + ion-card-content {
242+
padding-top: 0;
243+
}
244+
241245
// Menu Styles
242246
// --------------------------------------------------
243247

0 commit comments

Comments
 (0)