Placing buttons side-by-side in sidebar

I've used div(style="display:inline-block;" in a sidebar to place buttons side by side. However, in moving to the latest versions of bslib and using layout_sidebar this no longer works. Anything I can do?

Hi,

Have you tried display: flex;? More info here:

It worked when I wrapped the buttons I wanted in line in a div with display: flex. Kinda surprising to me since I thought everything was already flexed in the new bslib.

Thanks.

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.