Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176

This commit is contained in:
Pantheon Automation 2015-08-17 17:00:26 -07:00 committed by Greg Anderson
commit 9921556621
13277 changed files with 1459781 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/**
* @file
* Image Caption: overrides to make centered alignment work inside CKEditor.
*/
/**
* Since .align-center is set on the non-captioned image's parent block element
* in CKEditor, the image must be centered separately.
*/
p[data-widget="image"].align-center {
text-align: center;
}
/**
* Since .align-center is set on captioned widget's wrapper element in CKEditor,
* the alignment of internals must be set separately.
*/
div[data-cke-widget-wrapper].align-center > figure[data-widget="image"] {
margin-left: auto;
margin-right: auto;
}