From 4e7593cb9f351de3a630daafc5997ff9221efafe Mon Sep 17 00:00:00 2001 From: Dmitriy Novash Date: Wed, 8 Jul 2020 15:03:31 +0300 Subject: [PATCH] Add background to popover for image with transparent background --- src/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index c8cc36e..85eb32a 100644 --- a/src/style.css +++ b/src/style.css @@ -6,7 +6,11 @@ body { a { cursor: pointer !important; } a.ifmitem:focus { outline: 0 } -img.imgpreview { max-width: 100%; } +img.imgpreview { + max-width: 100%; + background-repeat: repeat repeat; + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAABI2lDQ1BJQ0MgcHJvZmlsZQAAKJGdkLFKw1AUhr9UsaXYSXEQhwyuBRHM5FIVgqAQYwWrU5qkWExiSFKKb+Cb6MN0EASfwCdQcPa/0cHBLF44/B+Hc/7/3gstOwnTcnkH0qwqXH8wuhxd2e032nTosksvCMt84HknNJ7PVyyjL33j1Tz351mJ4jKULlRZmBcVWPtiZ17lhlWs3w79Q/GD2I7SLBI/ibejNDJsdv00mYU/nuY2q3F2cW76qi1cjjnFw2bMjCkJFX1pps4RDntSl4KAe0pCaUKs3lwzFTeiUk4uB6KhSLdpyNus8zyljOUxlZdJuCOVp8nD/O/32sdZvWltLPKgCOrWkqo1mcD7I/RGsPYM3euGrM7vtzXMOPXMP9/4BdaxUFxWskm6AAAAAmJLR0QAy6Y7OAoAAAAJcEhZcwAALiMAAC4jAXilP3YAAAAiSURBVAjXY/zPwMDAcIaBgYGBiQEOCDJZzjAwMDCYkKoNAPmXAuEuYku0AAAAAElFTkSuQmCC"); +} div#content { width: 100%; height: 350px; } /* is for the ACE editor */