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/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res/client/css/style.css') diff --git a/res/client/css/style.css b/res/client/css/style.css index 54d0c7b0..3be53391 100644 --- a/res/client/css/style.css +++ b/res/client/css/style.css @@ -782,7 +782,7 @@ p { padding: 5px 4px 0px 4px; } #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; @@ -790,7 +790,7 @@ p { margin-bottom: 5px; } #btn_zoom_in { - background: url(../img/plus.svg); + background: url(../img/plus.png); background-position: center; background-repeat: no-repeat; width: 16px; @@ -798,7 +798,7 @@ p { margin-bottom: 5px; } #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