RinteRface / argonDash

argon dashboard template
https://rinterface.github.io/argonDash/
138 stars 37 forks source link

Card Plot Overflow #4

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi, Seems like the card height doesn't auto adjust. Increasing the height of the output plot in the example app demonstrates it.

output$distPlot <- renderPlot({
            hist(rnorm(input$obs))
        },height=600)

The issue is also present in tabs with card_wrapper set to TRUE.

The height appears to autoadjust when the content is a long text, so maybe it has to do with Shiny?

ghost commented 5 years ago

Looking further into it, adding height = "100%" to plotOutput fixes the issue.

argonColumn(width = 6, plotOutput("distPlot",height="100%")).

Apologies and thanks!