Fixed applying border radius to card header (#934)

* fixed applying border radius to card header

* updated changelog

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
pull/956/head
Buni48 2022-10-14 15:36:11 +03:00 zatwierdzone przez GitHub
rodzic 808003f3df
commit 0e67f85995
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -10,8 +10,9 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Next
- Improved `<sl-badge>` so it renders relative to the current font size and improved padding
- Added `button--checked` to `<sl-radio-button>` and `control--checked` to `<sl-radio>` to style just the checked state [#933](https://github.com/shoelace-style/shoelace/pull/933)
- Fixed a bug in `<sl-card>` that prevented the border radius to apply correctly to the header [#934](https://github.com/shoelace-style/shoelace/pull/934)
- Improved `<sl-badge>` so it renders relative to the current font size and improved padding
## 2.0.0-beta.83

Wyświetl plik

@ -47,6 +47,11 @@ export default css`
display: none;
}
.card:not(.card--has-image) .card__header {
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
}
.card__body {
padding: var(--padding);
}