From efd944d822f9ef048ccb5a0958129c01f63383a4 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 18 Jan 2023 09:07:37 -0500 Subject: [PATCH] remove contain:strict --- docs/resources/changelog.md | 1 + src/components/icon/icon.styles.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 2f17a43e..7cb5861b 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -27,6 +27,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti - Fixed a bug that prevented the entire `` to be hidden when inactive - Fixed a bug that caused the value of `` to be `undefined` depending on where the radio was activated [#1134](https://github.com/shoelace-style/shoelace/issues/1134) - Fixed a bug that caused body content to shift when scroll locking was enabled [#1132](https://github.com/shoelace-style/shoelace/issues/1132) +- Fixed a bug in `` that caused icons to sometimes be clipped in Safari - Refactored the `ShoelaceFormControl` interface to remove the `invalid` property, allowing a more intuitive API for controlling validation internally - Renamed the internal `FormSubmitController` to `FormControlController` to better reflect what it's used for - Updated Lit to 2.6.1 diff --git a/src/components/icon/icon.styles.ts b/src/components/icon/icon.styles.ts index d6eea2a2..813887ff 100644 --- a/src/components/icon/icon.styles.ts +++ b/src/components/icon/icon.styles.ts @@ -8,7 +8,6 @@ export default css` display: inline-block; width: 1em; height: 1em; - contain: strict; box-sizing: content-box !important; }