@trebired/frontend 11.6.3 → 11.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/tooltip/styles/index.scss +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@trebired/frontend` will be documented here.
|
|
|
4
4
|
|
|
5
5
|
This project follows semantic versioning once published.
|
|
6
6
|
|
|
7
|
+
## 11.6.4
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Tooltips stay on one line until the text is genuinely long. The panel had a `max-width` but no intrinsic width, so it took whatever width the layout gave it and wrapped short labels like "Toggle theme" across two rows. It now sizes to `max-content`, capped by the existing `min(380px, 100vw - 24px)`, so it grows to fit the text on a single line and only wraps once it would exceed the cap.
|
|
12
|
+
|
|
7
13
|
## 11.6.3
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
position: fixed;
|
|
4
4
|
z-index: var(#{ns.css-var("z-tooltip")}, 1100);
|
|
5
5
|
box-sizing: border-box;
|
|
6
|
+
width: max-content;
|
|
6
7
|
max-width: min(380px, calc(100vw - 24px));
|
|
7
8
|
padding: var(#{ns.css-var("overlay-tooltip-panel-padding")}, 7px 9px);
|
|
8
9
|
border: var(#{ns.css-var("overlay-tooltip-panel-border")}, var(#{ns.css-var("border-width")}, 1px) solid var(#{ns.css-var("border")}, #000));
|