From a0f83c3b2bbee6089bdfb1f56a6474fff027865b Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 5 Dec 2022 09:38:42 -0500 Subject: [PATCH] fix border radius bug --- docs/resources/changelog.md | 1 + src/components/dropdown/dropdown.styles.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 5fffc751..eaf00159 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -21,6 +21,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti - Fixed a bug in `` that sometimes caused the active tab indicator to not animate - Fixed a bug in `` that caused the expand/collapse icon slot to be out of sync when the node is open initially - Fixed the mislabeled `handle-icon` slot in `` (it now points to the ``, not the slot's fallback content) +- Fixed the border radius in `` so it matches with nested `` elements - Improved IntelliSense in VS Code, courtesy of [Burton's amazing CEM Analyzer plugin](https://github.com/break-stuff/cem-plugin-vs-code-custom-data-generator) - Improved accessibility of `` so the alert is announced and the close button has a label - Refactored all styles and animations to use `translate`, `rotate`, and `scale` instead of `transform` diff --git a/src/components/dropdown/dropdown.styles.ts b/src/components/dropdown/dropdown.styles.ts index 945e992b..fd0bb84f 100644 --- a/src/components/dropdown/dropdown.styles.ts +++ b/src/components/dropdown/dropdown.styles.ts @@ -38,6 +38,7 @@ export default css` font-weight: var(--sl-font-weight-normal); color: var(--color); box-shadow: var(--sl-shadow-large); + border-radius: var(--sl-border-radius-medium); pointer-events: none; }