EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
118 stars 17 forks source link

Code element misalignment #249

Closed yohgaki closed 4 years ago

yohgaki commented 4 years ago

I'm using the "Twenty Twenty" theme which is current WP default.

Enlighter element is misaligned to left edge of screen. Removing "enlighter-default" from div fixes misalignment, but break the code element format.

Disabling ".enligher-default" class "margin" setting or set "margin" to auto via browser developer tool fixes this misalignment on Linux Chrome.

It seems code element is misaligned because "Twenty Twenty"'s parent div container width is screen wide.

AndiDittrich commented 4 years ago

please read the docs: https://github.com/EnlighterJS/documentation/blob/master/wordpress/WPThemeCompatibility.md

yohgaki commented 4 years ago

Missed document. Thank you!