Skip to content

Commit b41061c

Browse files
authored
fix(slider): Add tabular number font styling to tooltips (#10901)
* fix(slider): Add tabular number font styling to tooltips * fix from review
1 parent 2706897 commit b41061c

File tree

1 file changed

+6
-1
lines changed
  • packages/react-core/src/components/Slider

1 file changed

+6
-1
lines changed

packages/react-core/src/components/Slider/Slider.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,12 @@ export const Slider: React.FunctionComponent<SliderProps> = ({
474474
</div>
475475
)}
476476
{hasTooltipOverThumb ? (
477-
<Tooltip triggerRef={thumbRef} entryDelay={0} content={findAriaTextValue()}>
477+
<Tooltip
478+
className={css('pf-v6-m-tabular-nums')}
479+
triggerRef={thumbRef}
480+
entryDelay={0}
481+
content={findAriaTextValue()}
482+
>
478483
{thumbComponent}
479484
</Tooltip>
480485
) : (

0 commit comments

Comments
 (0)