diff --git a/resources/skins.minerva.content.styles/hacks.less b/resources/skins.minerva.content.styles/hacks.less index c41cf76a5..d48414964 100644 --- a/resources/skins.minerva.content.styles/hacks.less +++ b/resources/skins.minerva.content.styles/hacks.less @@ -56,6 +56,8 @@ FIXME: Review all of these hacks to see if they still apply. display: flex; flex: 1 1 100%; flex-flow: column nowrap; + width: 100% !important; + max-width: 100% !important; caption { padding: 10px 10px 0; diff --git a/resources/skins.minerva.content.styles/tablet/hacks.less b/resources/skins.minerva.content.styles/tablet/hacks.less index d95905d8d..e3e18883c 100644 --- a/resources/skins.minerva.content.styles/tablet/hacks.less +++ b/resources/skins.minerva.content.styles/tablet/hacks.less @@ -18,8 +18,8 @@ FIXME: Review all of these hacks to see if they still apply. .infobox { margin: 0.5em 0 1em 35px !important; // Note this is fixed to ensure that we leave enough space for the sections to the infoboxes left - max-width: @infoboxWidth; // FIXME [Templates]: Inline styles force us to use !important + max-width: @infoboxWidth !important; width: auto !important; float: right !important; clear: right !important;