MDL-57485 themes: Set images to default display type.

Imported images in atto would no longer hold a URL
tag around it. display: block was the culprit.
This commit is contained in:
Adrian Greeve
2017-03-07 17:33:23 +08:00
parent d0209e611f
commit b1ffb73177
+2
View File
@@ -50,6 +50,8 @@
.atto_image_button_text-top.img-responsive,
.atto_image_button_middle.img-responsive,
.atto_image_button_text-bottom.img-responsive {
/* If the image is display: block then linking the image to URLs won't work. */
display: inline-block;
max-width: calc(100% - 1em);
}