bslib
bslib copied to clipboard
Bootswatch 4 litera file upload alignment
Shiny 1.6.0 generates bs3 classes. If I use theme = bslib::bs_theme(bootswatch = "litera")
it will use the css for bootstrap 4, but shiny generates bs3 classes so they apply poorly. Adding theme = bslib::bs_theme(version = 3, bootswatch = "litera")
gives an error message of the theme not being available.
Shiny 1.6.0 generates bs3 classes. If I use theme = bslib::bs_theme(bootswatch = "litera") it will use the css for bootstrap 4, but shiny generates bs3 classes so they apply poorly.
The HTML/CSS that Shiny generates should be supported by bslib's custom version of BS4 -- could you please provide specific example(s)?
Adding theme = bslib::bs_theme(version = 3, bootswatch = "litera") gives an error message of the theme not being available.
The Bootswatch 3 version of litera is called readable https://bootswatch.com/3/readable/
the file upload dialog generated looks nothing like the one in bootswatch, and it's poorly aligned.
Ah yea the alignment should be fixed
FWIW, the styling looks different because shiny intentionally adds input-group
classes whereas the example on the Bootswatch site doesn't