From 9caeec7fcf3181b8ad46bcc102f81e20d7cf23be Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 28 Mar 2018 19:57:25 -0400 Subject: [PATCH] fix(components): add font-smoothing to mixing components --- core/src/components/card/card.scss | 2 ++ core/src/components/item-divider/item-divider.scss | 1 + core/src/components/item/item.scss | 2 ++ core/src/components/list-header/list-header.scss | 2 +- core/src/components/loading/loading.scss | 1 + core/src/components/searchbar/searchbar.scss | 2 ++ 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/src/components/card/card.scss b/core/src/components/card/card.scss index c71edd12829..9fafbf0fe83 100755 --- a/core/src/components/card/card.scss +++ b/core/src/components/card/card.scss @@ -4,6 +4,8 @@ // -------------------------------------------------- ion-card { + @include font-smoothing(); + position: relative; display: block; overflow: hidden; diff --git a/core/src/components/item-divider/item-divider.scss b/core/src/components/item-divider/item-divider.scss index 5ff0a81671f..dbc29d666d1 100644 --- a/core/src/components/item-divider/item-divider.scss +++ b/core/src/components/item-divider/item-divider.scss @@ -5,6 +5,7 @@ // -------------------------------------------------- ion-item-divider { + @include font-smoothing(); @include margin(0); @include padding(0); diff --git a/core/src/components/item/item.scss b/core/src/components/item/item.scss index 09b4fc8c651..ce83d9fb72a 100644 --- a/core/src/components/item/item.scss +++ b/core/src/components/item/item.scss @@ -4,6 +4,8 @@ // -------------------------------------------------- ion-item { + @include font-smoothing(); + display: block; } diff --git a/core/src/components/list-header/list-header.scss b/core/src/components/list-header/list-header.scss index 04ea87fb9d8..e9af75f0f86 100644 --- a/core/src/components/list-header/list-header.scss +++ b/core/src/components/list-header/list-header.scss @@ -5,8 +5,8 @@ // -------------------------------------------------- ion-list-header { + @include font-smoothing(); @include margin(0); - @include padding(0); display: flex; diff --git a/core/src/components/loading/loading.scss b/core/src/components/loading/loading.scss index 09c848c8620..9fc70864061 100644 --- a/core/src/components/loading/loading.scss +++ b/core/src/components/loading/loading.scss @@ -4,6 +4,7 @@ // -------------------------------------------------- ion-loading { + @include font-smoothing(); @include position(0, 0, 0, 0); position: fixed; diff --git a/core/src/components/searchbar/searchbar.scss b/core/src/components/searchbar/searchbar.scss index f1645141d0f..b52390ee814 100644 --- a/core/src/components/searchbar/searchbar.scss +++ b/core/src/components/searchbar/searchbar.scss @@ -4,6 +4,8 @@ // -------------------------------------------------- ion-searchbar { + @include font-smoothing(); + box-sizing: border-box; position: relative;