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

Display spinners inline #25

Open
tonyk7440 opened this issue Oct 9, 2018 · 2 comments
Open

Display spinners inline #25

tonyk7440 opened this issue Oct 9, 2018 · 2 comments

Comments

@tonyk7440
Copy link

When placing outputs with spinners beside each other they are each on their own line.
How can they be placed horizontally?

tabPanel(title = "Sentiment", width = 12, 
    withSpinner(imageOutput(outputId = "wordcloud")), 
    withSpinner(imageOutput(outputId = "sentiment_pie")), 
    withSpinner(imageOutput(outputId = "star_rating_chart"))
)

I have tried the following but but it hides the spinner itself
tags$style(HTML("div.shiny-spinner-output-container {display: inline}")),

@daattali
Copy link
Owner

Similarly, adding a spinner to a textOutput(inline = TRUE) disrupts the inline-ness of the text output.

@daattali
Copy link
Owner

If anyone has a good idea of how to fix this elegantly, a PR would be welcomed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants