moj-analytical-services / shinyGovstyle

Now up to GDS frontend version v4.0.0
37 stars 6 forks source link

gov_layout not flexible enough #52

Closed rosswyatt closed 2 years ago

rosswyatt commented 2 years ago

Not sure it was my bad design at beginning or the component changed, but need to redo this to make it work a bit nicer. At minute it creates a div around each layout meaning you can't combine layouts together (e.g. 1/2 and 2/3).

rosswyatt commented 2 years ago

So, looking at this I am not sure I can do this in a nice neat function. I think I need to build 3 separate functions:

Will leave gov_layout as is as if you don't need to box layout it is ok as to push the class to the page as a whole.

rosswyatt commented 2 years ago

This is now added through #57