Skip to content

Commit e16c633

Browse files
authored
fix(list-header): match background with designs (#30058)
1 parent f6e0416 commit e16c633

9 files changed

+7
-3
lines changed

core/src/components/item-options/item-options.ionic.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
.item-options-ionic {
88
align-items: center;
99

10+
background: #{globals.$ion-primitives-base-white};
11+
1012
gap: globals.$ion-space-100;
1113
}
1214

core/src/components/list-header/test/basic/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
</ion-content>
8383
</ion-app>
8484

85-
<style></style>
85+
<style>
86+
ion-content {
87+
--background: #f1f1f1;
88+
}
89+
</style>
8690
</body>
8791
</html>
-206 Bytes
Loading
-247 Bytes
Loading
-138 Bytes
Loading
-188 Bytes
Loading
-134 Bytes
Loading
-143 Bytes
Loading

core/src/components/list/list.ionic.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ ion-list {
99

1010
display: block;
1111

12-
background: #{globals.$ion-primitives-base-white};
13-
1412
contain: content;
1513
list-style-type: none;
1614
}

0 commit comments

Comments
 (0)