RinteRface / shinybulma

🌐 Bulma.io for Shiny
https://rinterface.github.io/shinybulma/
Other
111 stars 15 forks source link

Width parameter of bulmaTileParent has no effect #19

Closed thothal closed 4 years ago

thothal commented 4 years ago

Issue

The width parameter of bulmaTileParent has no effect.

Reprex

library(shiny)
library(shinybulma)
shinyApp(
   bulmaPage(
      bulmaContainer(
         bulmaTileAncestor(
            bulmaTileParent(width = 1, bulmaTileChild(bulmaBox())),
            bulmaTileParent(width = 2, bulmaTileChild(bulmaBox()))
         )
      )
   ), function(...) {}
)

Reason

https://github.com/RinteRface/shinybulma/blob/a14015aa975d1481e6c793338d9fd8bbd5c80aaf/R/bulma-tiles.R#L67-L80

This is due to the fact that it is simply not added to the class (we miss width in the `paste in line 72). I will quickly issue a PR.