-
Notifications
You must be signed in to change notification settings - Fork 15
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
shinybulma and ShinyDashboard #16
Comments
Hi Simon, actually, this is not a recommended way to use bulma. shinydashboard has its own CSS, so is bulma. This is bad luck since shinydashboard has hidden timeline CSS class (more here). What happens is that there is a conflict between bulma timelines CSS and that of shinydashboard. A way to solve the issue would be to rewrite the bulmaTimeline and bulmaTimelineItem functions so that classes are unique to bulma and not shinydashboard. Then change the bulma timeline CSS to match your new classes. For instance, let's look at the bulmaTimeline <- function (..., centered = FALSE, rtl = FALSE) {
cl <- "timeline"
if (centered == TRUE)
cl <- paste0(cl, " is-centered")
if (rtl == TRUE)
cl <- paste0(cl, " is-rtl")
shiny::tags$div(class = cl, ...)
} You would have to replace the |
Hi David, thanks for the speedy reply. I've really opened a can of worms here, haven't I! Having digested your response and thought more about the app that I'm developing, I think I can break out the part of the app I need the timeline functionality for into a new app which just uses |
Hi David, Sorry to bombard you with questions but I've just moved the
As you can see, the timeline is now displaying correctly but the CSS in the date picker is messed up (it returns to correct behaviour if you delete the timeline code). Do you know why? Is it another CSS conflict? I have browsed the Many thanks, |
In case you missed it: shinydashboardPlus has a timeline widget ;) There exists a sort of bulma dashboard template in the wild but nothing fancy. |
Thanks, will check this out :) |
Sorry for the basic question but I need a little help integrating
shinybulma::bulmaTimeline()
into ashinydashboard()
app that I'm currently developing. Below is an MRE:Why, when including a
bulmaTimeline()
into the above does a grey horizontal bar appear on the timeline? Also, all icons in the sidebar menu are rendered as small rectangles, instead of the assignedmenuItem
icon. Any help would be appreciated!The text was updated successfully, but these errors were encountered: