diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2015-10-27 12:50:38 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2015-10-27 12:50:38 +0000 |
commit | e070ba898296d9fceb94ad24e25e4275c18c4877 (patch) | |
tree | f9b7a997b1c4c4d30149cf044508e784aea3d97a | |
parent | ac39951581a0eefe069c8a707bb89977227d0bce (diff) |
Add padding inside chevron SVGs
Fixes #1256 by removing the temptation for web browsers
to stretch the SVG to fill the CSS background-size box.
4 files changed, 4 insertions, 12 deletions
diff --git a/web/cobrands/fixmystreet/images/chevron-grey-left.svg b/web/cobrands/fixmystreet/images/chevron-grey-left.svg index 650eeac26..78d2f8cd2 100644 --- a/web/cobrands/fixmystreet/images/chevron-grey-left.svg +++ b/web/cobrands/fixmystreet/images/chevron-grey-left.svg @@ -1,3 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="27" height="33"> - <polygon points="26,0 13,0 0,16 13,32 26,32 13,16" fill="#d1d1d1"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#d1d1d1" d="M62 0H49L36 16l13 16h13L49 16"/></svg>
\ No newline at end of file diff --git a/web/cobrands/fixmystreet/images/chevron-grey-right.svg b/web/cobrands/fixmystreet/images/chevron-grey-right.svg index 18432eb3b..f94d49b75 100644 --- a/web/cobrands/fixmystreet/images/chevron-grey-right.svg +++ b/web/cobrands/fixmystreet/images/chevron-grey-right.svg @@ -1,3 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="27" height="33"> - <polygon points="0,0 13,0 26,16 13,32 0,32 13,16" fill="#d1d1d1"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#d1d1d1" d="M0 0h13l13 16-13 16H0l13-16"/></svg>
\ No newline at end of file diff --git a/web/cobrands/fixmystreet/images/chevron-white-left.svg b/web/cobrands/fixmystreet/images/chevron-white-left.svg index 95f9fd8a8..4dc587e79 100644 --- a/web/cobrands/fixmystreet/images/chevron-white-left.svg +++ b/web/cobrands/fixmystreet/images/chevron-white-left.svg @@ -1,3 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="27" height="33"> - <polygon points="26,0 13,0 0,16 13,32 26,32 13,16" fill="#ffffff"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#fff" d="M62 0H49L36 16l13 16h13L49 16"/></svg>
\ No newline at end of file diff --git a/web/cobrands/fixmystreet/images/chevron-white-right.svg b/web/cobrands/fixmystreet/images/chevron-white-right.svg index 43f321782..3aa713765 100644 --- a/web/cobrands/fixmystreet/images/chevron-white-right.svg +++ b/web/cobrands/fixmystreet/images/chevron-white-right.svg @@ -1,3 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="27" height="33"> - <polygon points="0,0 13,0 26,16 13,32 0,32 13,16" fill="#ffffff"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#fff" d="M0 0h13l13 16-13 16H0l13-16"/></svg>
\ No newline at end of file |