fix prefix/suffix spacing

pull/411/head
Cory LaViska 2021-04-09 13:38:17 -04:00
rodzic b06f58db5f
commit 70a94bb38e
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -10,6 +10,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- 🚨 BREAKING: `sl-radio` components must be located inside an `sl-radio-group` for proper accessibility [#218](https://github.com/shoelace-style/shoelace/issues/218)
- Added `sl-radio-group` component [#218](https://github.com/shoelace-style/shoelace/issues/218)
- Fixed a bug where `sl-menu-item` prefix and suffix slots wouldn't always receive the correct spacing
- Improved a11y in `sl-radio` with Windows high contrast mode [#215](https://github.com/shoelace-style/shoelace/issues/215)
## 2.0.0-beta.37

Wyświetl plik

@ -42,8 +42,8 @@
display: flex;
align-items: center;
::slotted(:last-child) {
margin-right: 0.5em;
::slotted(*) {
margin-right: var(--sl-spacing-x-small);
}
}
@ -52,8 +52,8 @@
display: flex;
align-items: center;
::slotted(:first-child) {
margin-left: 0.5em;
::slotted(*) {
margin-left: var(--sl-spacing-x-small);
}
}
}