mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Fixing native selection rendering for floats
This fixes a problem with how Chrome renders native selection around floated elements. By adding pseudo elements before and after block aliens, the rendering is fixed. Change-Id: I7fdbb8f4c42e29d0574b308b8c5740066bb58e94
This commit is contained in:
parent
f4a674e2c5
commit
05c3e088d0
|
@ -18,6 +18,12 @@
|
|||
position: static !important;
|
||||
}
|
||||
|
||||
/* Fix weird Chrome native selection involving floated elements */
|
||||
.ve-ce-alienBlockNode:before,
|
||||
.ve-ce-alienBlockNode:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.ve-ce-alienBlockNode,
|
||||
.ve-ce-metaBlockNode {
|
||||
display: block;
|
||||
|
|
Loading…
Reference in a new issue