Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56748, comment 2


Ignore:
Timestamp:
10/06/2022 06:55:27 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56748, comment 2

    initial v1  
    11Thanks for the report and patch!
    22
    3 The block-library styles make the images float (and add a different margin) even at small screen sizes.
     3The editor's block-library styles make the images float (and add a different margin) even at small screen sizes.
    44{{{
    55.wp-block-image .alignleft {
     
    1313}}}
    1414
    15 For Twenty Twenty-One, styles need to be [https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss#L57 updated in the SASS]. It might be good to set the top margin to zero, too, for the `alignleft` and `alignright` classes (earlier in the SASS file).
     15For Twenty Twenty-One theme CSS patches, styles need to be [https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss#L57 updated in the SASS]. It might be good to set the top margin to zero, too, for the `alignleft` and `alignright` classes (earlier in the SASS file so it applies at any screen size).