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.)
This commit is contained in:
parent
95ceae7711
commit
271550778f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user