gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Avatar block not 1:1 between the editor and the front-end

Open richtabor opened this issue 3 years ago • 4 comments

There is an inconsistency between the editor and front-end renders of the core/avatar block.

Setting a line-height: 0; to the top-level .wp-block-avatar element resolves this.

Editor:

CleanShot 2023-04-12 at 14 38 43

Frontend:

CleanShot 2023-04-12 at 14 38 52

richtabor avatar Apr 12 '23 18:04 richtabor

image should I add "line-height: 0;" here?

Anurag-Raut avatar Apr 13 '23 04:04 Anurag-Raut

Yea, that would do it.

richtabor avatar Apr 19 '23 21:04 richtabor

can i work on this?

xerpa43 avatar Apr 20 '23 17:04 xerpa43

I would like to work on this issue , please assign the issue to me

aditya-mistri avatar Jun 04 '23 19:06 aditya-mistri