Atto CSS bug for image align right

Atto CSS bug for image align right

Urs Hunkler -
回帖数:0
Core developers的头像
  1. Hi, I discovered that the atto "float right" margin CSS value is wrong. I added a tracker issue 
MDL-46302 and a pull branch with the corrected code.

In the file "lib/editor/atto/plugins/image/yui/src/button/js/button.js" the margin CSS for float right is set to "margin: '0 0 .5em 0'" which sets the margin at the bottom and not at the left image side.

It should be "margin: '0 0 0 .5em'".

Hope the issue may be solved soon.