https://bugzilla.wikimedia.org/show_bug.cgi?id=41869
Web browser: ---
Bug #: 41869
Summary: ".mw-hiero-table td { vertical-align: middle; }" is
overridden when embedded in other tables.
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikiHiero
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
The rule that ensures vertical centering:
.mw-hiero-table td {
vertical-align: middle;
}
...is overridden when hieros are embedded in another table, such as infobox,
which have their own vertical-align set. This is because rules set in
Common.css override those in extension CSS (by being loaded later. A simple fix
is to add specificallity, thus the rule should be changed to:
table.mw-hiero-table td {
vertical-align: middle;
}
This ensures that blanket CSS rules (classes not attached to elements) do not
override the extensions' CSS.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l