Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294537

[PP-1] Constrain the width of aligned images, media, blockquotes etc to a max of 75%

$
0
0

Problem/Motivation

This from feedback from @effulgentsia here #2801307-54: [META] Support WYSIWYG embedding of media entities:

[...] add CSS along the lines of max-width: 75% on media that's aligned left or right. It's fine for the media to be smaller. It's just that if you're explicitly choosing to align it left or right, then you're choosing to put something else beside it, which means leaving some amount of room for that something else.

Proposed resolution

Add a max-width for the media in CKEditor.

Remaining tasks

TBD

User interface changes

Media added in CKEditor with a left or right alignment will now only use max 75% of the available width.

API changes

None.

Data model changes

None.

Release notes snippet


Viewing all articles
Browse latest Browse all 294537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>