WordPress / theme-experiments

Experimenting with themes made out of blocks.
GNU General Public License v2.0
546 stars 180 forks source link

TT1 Blocks: Changing Image height/width settings unresponsive #193

Open annezazu opened 3 years ago

annezazu commented 3 years ago

I tested in both TT1 and Twenty Twenty-one and found the issue was only in TT1. Essentially, manually changing the width/height up or down seems to cause some odd behavior. Here's a quick video:

https://user-images.githubusercontent.com/26996883/106691606-05637700-6591-11eb-8351-23c1c8350ca5.mov

Apologies for the odd title :) This is using WordPress 5.6 and Gutenberg Version 9.9.0.20210201 (a nightly build from the Gutenberg Times).

carolinan commented 3 years ago

I have been able to reproduce this with TT1 Blocks, WordPress 5.7.1 and Gutenberg 10.6.

It is not reproduceable with emptytheme, Q, Armando or Quadrat.

youknowriad commented 3 years ago

Sounds more like a Gutenberg issue can we move this one there maybe?

carolinan commented 3 years ago

It seems to be related to this theme CSS

.wp-block-image img {
    height: auto;
}

https://github.com/WordPress/theme-experiments/blob/master/tt1-blocks/assets/css/blocks.css#L53