mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
9e9a671fc1
Prevent images from getting double borders due to slugs, and prevent extraneous margins from piling up in captions. Also add the ve-ce-mwBlockImageNode class which shockingly wasn't being set (only ve-ce-mwBlockImageNode-TYPE was set). Change-Id: I86b95aa0c0def92a9790b7cdb4b05837fb8f65e2
15 lines
370 B
CSS
15 lines
370 B
CSS
/*!
|
|
* VisualEditor ContentEditable MediaWiki MWInlineImageNode styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ce-mwInlineImageNode {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Override border on shields for images */
|
|
.ve-ce-mwInlineImageNode .ve-ce-protectedNode-shield {
|
|
border: none;
|
|
} |