mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Apply mobile width fixes to infoboxes explicitly
Previously they were just inheriting from `table`, but now we don't require .infobox to use a specific element they should be applied separately. Fix table max-width override to use !important as this too could be specified inline. Bug: T258011 Change-Id: I4f28414fd965ae9f608b5e52047b9d474427853a
This commit is contained in:
parent
5294147136
commit
bc945fa15c
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue