From 5b0bf9fc9b31cedac5c8dccc51c96852a9a1e1ce Mon Sep 17 00:00:00 2001 From: ezavod Date: Mon, 26 Jun 2017 15:08:20 +0200 Subject: [PATCH] fix(ui): wrong size of svg images on buttons Replaced size in percentage with size in pixels in call and emote buttons. Added margin to mic and volume buttons. --- ui/callButton/callButton.svg | 6 +-- ui/emoteButton/emoteButton.svg | 6 +-- ui/micButton/micButton.svg | 36 ++--------------- ui/volButton/volButton.svg | 71 ++++++++++------------------------ 4 files changed, 30 insertions(+), 89 deletions(-) diff --git a/ui/callButton/callButton.svg b/ui/callButton/callButton.svg index ce48974b7..3af0fdc19 100644 --- a/ui/callButton/callButton.svg +++ b/ui/callButton/callButton.svg @@ -8,8 +8,8 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" - width="100%" - height="100%" + width="25" + height="23" viewBox="0 0 25 23" id="Layer_1" xml:space="preserve"> \ No newline at end of file + style="fill:#ffffff" /> diff --git a/ui/emoteButton/emoteButton.svg b/ui/emoteButton/emoteButton.svg index d5844c42c..2acca2c20 100644 --- a/ui/emoteButton/emoteButton.svg +++ b/ui/emoteButton/emoteButton.svg @@ -8,8 +8,8 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" - width="100%" - height="100%" + width="17" + height="17" viewBox="0 0 17 17" id="Layer_1" xml:space="preserve"> \ No newline at end of file + style="fill:#ffffff" /> diff --git a/ui/micButton/micButton.svg b/ui/micButton/micButton.svg index f84441746..b45e8fccb 100644 --- a/ui/micButton/micButton.svg +++ b/ui/micButton/micButton.svg @@ -1,21 +1,15 @@ - - + width="30" + height="28" + viewBox="0 0 28.124999 26.25"> @@ -30,29 +24,9 @@ - + transform="matrix(1.1279459,0,0,1.1264917,-1.4773586,0.42511766)"> diff --git a/ui/volButton/volButton.svg b/ui/volButton/volButton.svg index 343b3e312..18adc13b3 100644 --- a/ui/volButton/volButton.svg +++ b/ui/volButton/volButton.svg @@ -1,21 +1,15 @@ - - + id="svg5872"> @@ -24,60 +18,35 @@ image/svg+xml - + - + transform="matrix(1.1540409,0,0,1.1540409,-0.84812976,0.4794057)" + id="g3465"> + width="5.2330775" + height="5.5364447" + x="1.8454813" + y="5.6757092" + ry="1.4363106" + rx="1.281631" /> + id="path6434" /> + id="path6438" /> + d="M 6.337401,6.1307596 10.26,2.246 V 14.832 L 6.2425989,10.447416 Z" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />