From ab770c566e9ccd5a8bd1a65fe9a13c51278c3ccc Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 28 Aug 2023 09:27:57 -0400 Subject: [PATCH] fix spacing; #1540 (#1544) --- docs/pages/resources/changelog.md | 4 ++++ src/components/switch/switch.component.ts | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index d50d8cda..74da10f2 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -12,6 +12,10 @@ Components with the Experimental bad New versions of Shoelace are released as-needed and generally occur when a critical mass of changes have accumulated. At any time, you can see what's coming in the next release by visiting [next.shoelace.style](https://next.shoelace.style). +## Next + +- Fixed a bug in `` that resulted in improper spacing between the label and the required asterisk [#1540] + ## 2.8.0 - Added `--isolatedModules` and `--verbatimModuleSyntax` to `tsconfig.json`. For anyone directly importing event types, they no longer provide a default export due to these options being enabled. For people using the `events/event.js` file directly, there is no change. diff --git a/src/components/switch/switch.component.ts b/src/components/switch/switch.component.ts index 232d0333..2ec28063 100644 --- a/src/components/switch/switch.component.ts +++ b/src/components/switch/switch.component.ts @@ -215,7 +215,9 @@ export default class SlSwitch extends ShoelaceElement implements ShoelaceFormCon - +
+ +
`; }