From 271550778fe69e6c65ea6a2ab35ba3e3c1b2f8e0 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Mon, 14 Jan 2013 13:37:41 +0100 Subject: [PATCH] Disabled responsive images in the backend for the time being. Explanation: there's a CSS technique for making images responsive by applying max-width: 100%; and height: auto; to them. This messes with the bundled Xinha WYSIWYG editor. The buttons in Xinha's toobars can't have max-width: auto;, it makes them disappear. So far, I haven't found a way to overwrite this for the toolbar images only due to selector specifity. Either need to find a way or find a way to make other images (media, actually) in the backend have a class which assigns the responsive media CSS to them. (Or drop Xinha for good, but that doesn't seem to be an option.) --- templates/2k11/admin/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index e93e7d53..90369b4d 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -214,14 +214,14 @@ img { vertical-align: middle; } /* Responsive media objects http://unstoppablerobotninja.com/entry/fluid-images */ -embed, +/*embed, object, audio, video, img { max-width: 100%; } video, -img { height: auto; } +img { height: auto; }*/ fieldset { border: 0;