File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -328,29 +328,26 @@ function SliderThumbTooltip({ isOpen }: { isOpen: boolean }) {
328328 } ) }
329329 />
330330 < FloatingPortal id = "app" >
331- < div
331+ < Text
332+ size = "1"
332333 ref = { refs . setFloating }
333334 style = { floatingStyles }
334335 className = { clsx (
335336 "rt-TooltipContent" ,
337+ "rt-TooltipText" ,
336338 isOpen ? styles . show : styles . hide ,
337339 ) }
338340 >
339341 < SlotOverrideText />
340- </ div >
342+ </ Text >
341343 </ FloatingPortal >
342344 </ >
343345 ) ;
344346}
345347
346348function SlotOverrideText ( ) {
347349 const slotOverride = useAtomValue ( slotOverrideAtom ) ;
348-
349- return (
350- < Text size = "1" className = "rt-TooltipText" >
351- { slotOverride }
352- </ Text >
353- ) ;
350+ return slotOverride ;
354351}
355352
356353const isFutureSlotAtom = ( slot : number ) =>
You can’t perform that action at this time.
0 commit comments