mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Merge "Give up on realistic styling of mw-collapsible"
This commit is contained in:
commit
25b50ab8aa
|
@ -23,14 +23,14 @@
|
|||
display: table-row-group;
|
||||
}
|
||||
|
||||
/* Allow jQuery.makeCollapsible fake toggle buttons to float around the text */
|
||||
.ve-ce-mwTableNode .ve-ce-tableCaptionNode .ve-ce-paragraphNode:only-child,
|
||||
.ve-ce-mwTableNode .ve-ce-tableCellNode .ve-ce-paragraphNode:only-child {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Grey out the fake toggles to make it more obvious they are not interactive */
|
||||
/*
|
||||
* Grey out the fake toggles to make it more obvious they are not interactive.
|
||||
* Don't bother trying to float the toggles, as the text they are floating around
|
||||
* is now paragraph wrapped. Making these paragraphs display:inline would fix the
|
||||
* rendering but causes them to be destroyed by the CE when empty (T197987).
|
||||
*/
|
||||
.ve-ce-mwTableNode.mw-collapsible :first-child tr:first-child th:last-child:before,
|
||||
.ve-ce-mwTableNode.mw-collapsible > caption:first-child:after {
|
||||
color: #999;
|
||||
float: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue