diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index 80a72671..58fd1ed0 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 allowed unwanted text properties to leak in [#1947] + ## 2.15.0 - Added the Slovenian translation [#1893] diff --git a/src/components/tooltip/tooltip.styles.ts b/src/components/tooltip/tooltip.styles.ts index 2fd27519..f60ba84b 100644 --- a/src/components/tooltip/tooltip.styles.ts +++ b/src/components/tooltip/tooltip.styles.ts @@ -44,6 +44,8 @@ export default css` font-size: var(--sl-tooltip-font-size); font-weight: var(--sl-tooltip-font-weight); line-height: var(--sl-tooltip-line-height); + text-align: start; + white-space: normal; color: var(--sl-tooltip-color); padding: var(--sl-tooltip-padding); pointer-events: none;