ckan / ckanext-pages

A simple builtin CMS for CKAN sites
GNU General Public License v3.0
51 stars 101 forks source link

Problematic Inline Styles #5

Open smth opened 10 years ago

smth commented 10 years ago

When adding an image to a page, using the CKEditor interface, it is given inline width and height styles. This is problematic because (amongst other reasons) it conflicts with the max-width specified in the (Bootstrap) stylesheet. So if an image is added which is too wide for the page, it is (helpfully) scaled to fit, but then distorted by the inline fixed height.