rstudio / rstudio/bslib

Bootswatch 4 litera file upload alignment

Open
#277 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Shiny 1.6.0 and bs_theme(bootswatch = "litera"), then inspect the Bootstrap-version and Bootswatch theme handling. Done means Litera can be used with the Bootstrap 3 classes generated by Shiny without an unavailable-theme error, and file upload alignment is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, scss
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.