From d766ecbf7a64c09e324a239493523bbda7041659 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sat, 25 Apr 2015 20:57:45 +0300 Subject: client: convert svg icons to png while deploying a docker container both firefox and chrome refuse to load same path svg (reporting 'image failed to load' but showing 200 on the client, suggesting it is a behaviour implemnted after the HTTP interaction is completed successfully), while they accept png. This is a workaround. We already have other icons as png's, and we do not support change in icon size, suggesting no down side to this right now. The svg sources are left, and are actually still deployed (minor issue). --- res/client/css/partials/zoom-buttons.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res/client/css/partials') diff --git a/res/client/css/partials/zoom-buttons.scss b/res/client/css/partials/zoom-buttons.scss index de1d104d..fabee320 100644 --- a/res/client/css/partials/zoom-buttons.scss +++ b/res/client/css/partials/zoom-buttons.scss @@ -10,7 +10,7 @@ } #btn_zoom_to_selection { - background: url(../img/icon__zoom_to_selection.svg); + background: url(../img/icon__zoom_to_selection.png); background-position: center; background-repeat: no-repeat; width: 16px; @@ -19,7 +19,7 @@ } #btn_zoom_in { - background: url(../img/plus.svg); + background: url(../img/plus.png); background-position: center; background-repeat: no-repeat; width: 16px; @@ -28,7 +28,7 @@ } #btn_zoom_out { - background: url(../img/minus.svg); + background: url(../img/minus.png); background-position: center; background-repeat: no-repeat; width: 16px; -- cgit v1.3.1