diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 997fe312..f31bc22f 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -11,6 +11,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - Added `role="status"` to `` - Fixed broken spinner animation in Safari [#633](https://github.com/shoelace-style/shoelace/issues/633) - Improved `` track color when used on various backgrounds +- Removed `position: relative` from the common component stylesheet ## 2.0.0-beta.63 diff --git a/src/components/button/button.styles.ts b/src/components/button/button.styles.ts index dd480620..afdaa0eb 100644 --- a/src/components/button/button.styles.ts +++ b/src/components/button/button.styles.ts @@ -7,6 +7,7 @@ export default css` :host { display: inline-block; + position: relative; width: auto; cursor: pointer; } diff --git a/src/styles/component.styles.ts b/src/styles/component.styles.ts index ed168497..e38a7b65 100644 --- a/src/styles/component.styles.ts +++ b/src/styles/component.styles.ts @@ -3,7 +3,6 @@ import utilityStyles from '../styles/utility.styles'; export default css` :host { - position: relative; box-sizing: border-box; }