Update macdown container layout

Fixes #6075