mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Expand collapsible blocks in editor, like we do with collapsible tables
Bug: T236247 Change-Id: I6389d2fbb4a5a5d58bfb08f38bd4c598e20c7aaa
This commit is contained in:
parent
9cfe9714c5
commit
c83d129f6a
|
@ -37,6 +37,12 @@
|
|||
display: table-row-group;
|
||||
}
|
||||
|
||||
/* Prevent jQuery.makeCollapsible from hiding blocks */
|
||||
.client-js .ve-ce-surface .mw-collapsed:not( .mw-made-collapsible ) .mw-collapsible-content,
|
||||
.client-js .ve-ui-diffElement .mw-collapsed:not( .mw-made-collapsible ) .mw-collapsible-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
@ -51,6 +57,11 @@
|
|||
float: none;
|
||||
}
|
||||
|
||||
.ve-ce-surface div.mw-collapsible:before,
|
||||
.ve-ui-diffElement div.mw-collapsible:before {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* Reset section node styles */
|
||||
.ve-init-mw-target .ve-ce-sectionNode:before,
|
||||
.ve-init-mw-target .ve-ce-sectionNode:after {
|
||||
|
|
Loading…
Reference in a new issue