mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Make surface measurable while activating"
This commit is contained in:
commit
79d8849b49
|
@ -32,11 +32,18 @@
|
|||
.ve-activated #t-permalink,
|
||||
.ve-activated #p-coll-print_export,
|
||||
.ve-activated #t-cite,
|
||||
.ve-activating .ve-ui-surface,
|
||||
.ve-deactivating .ve-ui-surface {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The surface needs to be measurable while being setup
|
||||
as some nodes render based on their dimensions, e.g.
|
||||
ve.ce.FocusableNode#updateInvisibleIcon */
|
||||
.ve-activating .ve-ui-surface {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-activated #bodyContent,
|
||||
.ve-activated #firstHeading {
|
||||
opacity: 0.6;
|
||||
|
|
Loading…
Reference in a new issue