Skip to content

Commit 52d0212

Browse files
committed
Fix issue #8: tooltip label with spaces wraps: add nowrap to stylesheet
1 parent 210f4fd commit 52d0212

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

dist/react-bootstrap-range-slider.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ input[type=range].range-slider::-ms-tooltip {
325325
border-radius: 0.25rem;
326326
box-sizing: border-box;
327327
font-size: 0.875rem;
328+
white-space: nowrap;
328329
}
329330
.range-slider__wrap .range-slider__tooltip .range-slider__tooltip__arrow {
330331
position: absolute;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bootstrap-range-slider",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "A range slider component with tooltips for React Bootstrap (Bootstrap 4) that extends the HTML input (type=range) element.",
55
"keywords": [
66
"react",

src/style.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ input[type=range].range-slider {
266266
border-radius: .25rem;
267267
box-sizing: border-box;
268268
font-size: 0.875rem;
269+
white-space: nowrap;
269270
}
270271

271272
.range-slider__tooltip__arrow {

0 commit comments

Comments
 (0)