Skip to content

Commit 3ef88d4

Browse files
authored
ResizableBox: Ensure tooltip text remains on a single line (#39623)
* ResizableBox: Ensure tooltip text remains on a single line * Add changelog entry
1 parent 23f11a1 commit 3ef88d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/components/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
- `NumberControl`: commit (and constrain) value on `blur` event ([#39186](https://github.com/WordPress/gutenberg/pull/39186)).
2323
- Fix `UnitControl`'s reset of unit when the quantity value is cleared. ([#39531](https://github.com/WordPress/gutenberg/pull/39531/)).
24+
- `ResizableBox`: Ensure tooltip text remains on a single line. ([#39623](https://github.com/WordPress/gutenberg/pull/39623)).
2425

2526
### Deprecation
2627

packages/components/src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ export const LabelText = styled( Text )`
4848
display: block;
4949
font-size: 13px;
5050
line-height: 1.4;
51+
white-space: nowrap;
5152
}
5253
`;

0 commit comments

Comments
 (0)