Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Bootstrap 4 #1688

Closed
wants to merge 25 commits into from
Closed

Upgrade to Bootstrap 4 #1688

wants to merge 25 commits into from

Conversation

yihui
Copy link
Member

@yihui yihui commented Nov 5, 2019

This is still WIP to close #1260.

TODO:

… they don't seem to have ever existed in Bootstrap at all
…tyle="min-width: 50px;" on the dropdown menu, since it doesn't seem to be useful
…with actual font specs so the themes can continue to work offline
…, but it is what the official Bootstrap doc uses)
…s light or dark navbar, and the second specifies the background color
)
w <- c(w, setNames(paste(w, 'Italic'), paste0(names(w), 'italic')))
w['400italic'] <- 'Italic'
fonts <- list.files('fonts')
Copy link
Contributor

@cpsievert cpsievert Nov 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is fonts/ coming from? bootscss uses this CLI tool (like shinythemes does) which gives smaller tff file sizes (about 1.3MB in total versus 3.8MB). Also note that the CLI tool generates the CSS font spec for you...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! Thanks for the tip! The fonts folder exists in the current version of rmarkdown. I guess JJ created it initially. I downloaded a few new fonts for this PR.

@cpsievert
Copy link
Contributor

cpsievert commented Nov 8, 2019

For some reason navbars with .dropdown-items aren't getting a proper .active class after clicking them

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to Bootstrap v4?
2 participants