bs4Dash icon indicating copy to clipboard operation
bs4Dash copied to clipboard

radioButtons and other widgets are being bold character automatically.

Open karakastarik opened this issue 2 years ago • 3 comments

Hi,

I'm using 'radioButtons' for this example but I've seen this issue with all widgets. I'm not sure this issue related with bs4Dash, you can see attached packages below.

radioButtons(ns("pd_hist"),label = tags$strong("Variable"),choices = input_expvars(),selected = input_expvars()[1])

When i use this code, it is look like this:

image

I tried on base shiny package, and this is the result:

image

> sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    
system code page: 1254

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] forcats_0.5.1         stringr_1.4.0         purrr_0.3.4           readr_1.4.0           tibble_3.1.2         
 [6] tidyverse_1.3.1       rhandsontable_0.3.8   PRROC_1.3.1           tidyr_1.1.3           shinyjs_2.0.0        
[11] rmarkdown_2.8         knitr_1.33            corrplot_0.89         mctest_1.3.1          car_3.0-10           
[16] carData_3.0-4         plotly_4.9.4          shinyWidgets_0.6.0    summarytools_0.9.9    dplyr_1.0.6          
[21] ggcorrplot_0.1.3      ggplot2_3.3.3         openxlsx_4.2.3        lmtest_0.9-38         strucchange_1.5-2    
[26] sandwich_3.0-1        zoo_1.8-9             urca_1.3-0            normtest_1.1          broom_0.7.6          
[31] reactable_0.2.3       readxl_1.3.1          olsrr_0.5.3           bs4Dash_2.0.2         htmltools_0.5.1.1    
[36] shinycssloaders_1.0.0 fresh_0.2.0           shiny_1.6.0 

Thanks for your answer in advance

karakastarik avatar Aug 02 '21 13:08 karakastarik

solved this using a custom.css file


Would you have any suggestion how to patch this temporarily? I have tried to change font-weight through div/style attribute, but it will be overwritten by index. image

mattapel avatar Jan 15 '22 11:01 mattapel

I had created a separate issue (#324), but I would add that the fonts are black despite having the original theme/skin.

hj1982 avatar Dec 14 '22 16:12 hj1982

solved this using a custom.css file

Would you have any suggestion how to patch this temporarily? I have tried to change font-weight through div/style attribute, but it will be overwritten by index. image

Is this available, as I am battling the same issue?

hj1982 avatar Dec 14 '22 16:12 hj1982