diff --git a/packages/block-library/src/avatar/editor.scss b/packages/block-library/src/avatar/editor.scss index 845158b373f0a..4f216cf2e5e58 100644 --- a/packages/block-library/src/avatar/editor.scss +++ b/packages/block-library/src/avatar/editor.scss @@ -2,8 +2,16 @@ width: 100%; } -.wp-block-avatar.aligncenter { +.wp-block-avatar.aligncenter, +.wp-block[data-align="center"] .wp-block-avatar__link > .wp-block-avatar, +.wp-block[data-align="center"] > .wp-block-avatar { .components-resizable-box__container { margin: 0 auto; } } + +.wp-block-avatar.alignright { + .components-resizable-box__container { + float: right; + } +}