@@ -285,7 +285,7 @@ ui_a_regression <- function(id, ...) {
285285 tags $ div(verbatimTextOutput(ns(" text" )))
286286 )),
287287 encoding = tags $ div(
288- tags $ label(" Encodings" , class = " text-primary" ),
288+ tags $ label(" Encodings" , class = " text-primary" ), tags $ br(),
289289 teal.transform :: datanames_input(args [c(" response" , " regressor" )]),
290290 teal.transform :: data_extract_ui(
291291 id = ns(" response" ),
@@ -312,12 +312,10 @@ ui_a_regression <- function(id, ...) {
312312 teal.widgets :: optionalSliderInput(
313313 ns(" outlier" ),
314314 tags $ div(
315- class = " teal-tooltip" ,
316315 tagList(
317316 " Outlier definition:" ,
318- icon(" circle-info" ),
319- tags $ span(
320- class = " tooltiptext" ,
317+ bslib :: tooltip(
318+ icon(" fas fa-circle-info" ),
321319 paste(
322320 " Use the slider to choose the cut-off value to define outliers." ,
323321 " Points with a Cook's distance greater than" ,
@@ -343,16 +341,16 @@ ui_a_regression <- function(id, ...) {
343341 teal.widgets :: optionalSliderInputValMinMax(
344342 inputId = ns(" label_min_segment" ),
345343 label = tags $ div(
346- class = " teal-tooltip" ,
347344 tagList(
348345 " Label min. segment:" ,
349- icon(" circle-info" ),
350- tags $ span(
351- class = " tooltiptext" ,
352- paste(
353- " Use the slider to choose the cut-off value to define minimum distance between label and point" ,
354- " that generates a line segment." ,
355- " It's only valid when 'Display outlier labels' is checked."
346+ bslib :: tooltip(
347+ icon(" circle-info" ),
348+ tags $ span(
349+ paste(
350+ " Use the slider to choose the cut-off value to define minimum distance between label and point" ,
351+ " that generates a line segment." ,
352+ " It's only valid when 'Display outlier labels' is checked."
353+ )
356354 )
357355 )
358356 )
0 commit comments