update tooltip styles; fixes #1947

pull/1948/head
Cory LaViska 2024-03-28 11:00:59 -04:00
rodzic ae66483671
commit b9c5848a22
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,10 @@ Components with the <sl-badge variant="warning" pill>Experimental</sl-badge> 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 `<sl-tooltip>` that allowed unwanted text properties to leak in [#1947]
## 2.15.0
- Added the Slovenian translation [#1893]

Wyświetl plik

@ -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;