Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

imgFixHeight in assets/js/concat/main.js #6

Closed
libbeydesign opened this issue Sep 3, 2016 · 1 comment
Closed

imgFixHeight in assets/js/concat/main.js #6

libbeydesign opened this issue Sep 3, 2016 · 1 comment

Comments

@libbeydesign
Copy link

libbeydesign commented Sep 3, 2016

Images added to the site are being resized disproportionately when this portion of main.js is active. In screenshot example, the original is 116px high (and height/weight properties are defined), but overridden with style="height: 95px;". Deactivating this portion of main.js resolves the issue.

screen shot 2016-09-03 at 2 23 21 pm

@zoephilipps
Copy link
Owner

zoephilipps commented Sep 17, 2016

@libbeydesign 👋

https://github.com/zackphilipps/scratch-theme/releases/tag/v1.6.7 has a fix, but be aware that I also changed all the directory names since the underscores were causing problems on certain hosts. (Really all you have to do is delete assets/core/js/gutenberg.js)

I've also opened an issue for Gutenberg here: matejlatin/Gutenberg#51

Thanks for bringing this to my attention!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants