Access4all / EPUB

3 stars 1 forks source link

Prevent bigger border around WYSIWYG editor on focus #49

Open jmuheim opened 9 years ago

jmuheim commented 9 years ago

When focusing the WYSIWYG editor, it receives a bigger border, than it has without focus. This results in less space for the content, so the line breaks (soft wrap) change.

This is confusing. You should remove the bigger border on focus.

non focused editor

focused editor

jmuheim commented 9 years ago

The same applies to other elements, e.g. hovered links on the left side (e.g. the TOC), where the font-weight changes from normal to bold.

TOC

TOC hovered

Remember: never change any attributes on hover or focus that affect the dimensions of the whole element, so don't change stuff like border, padding, font-weight, font-size, etc.!