From d742ea6efc1df1f9179fefd5281857421c90dbd4 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 27 Dec 2021 14:05:25 -0500 Subject: [PATCH] remove relative positioning --- docs/resources/changelog.md | 1 + src/components/button/button.styles.ts | 1 + src/styles/component.styles.ts | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 997fe312b..f31bc22f7 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 dd480620a..afdaa0ebc 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 ed168497c..e38a7b650 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; }