Fix logo in IE11/Edge browsers
IE11/Edge browsers doesn't scale SVG images correct if weight and height is specified directly in SVG. Also these browsers doesn't work well with max-height style. Change-Id: I3fe643dd5e0d47cb0e5a658c84d23a8750c217e7 Closes-Bug: #1715674
This commit is contained in:
parent
30ca07e2fc
commit
502cffb1f8
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="79.895mm" width="165.57mm" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 586.65576 283.09213">
|
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 586.65576 283.09213">
|
||||||
<defs>
|
<defs>
|
||||||
<clipPath id="b" clipPathUnits="userSpaceOnUse">
|
<clipPath id="b" clipPathUnits="userSpaceOnUse">
|
||||||
<path d="m0 612h792v-612h-792v612z"/>
|
<path d="m0 612h792v-612h-792v612z"/>
|
||||||
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="30.124mm" width="169.55mm" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 600.77589 106.73737">
|
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 600.77589 106.73737">
|
||||||
<defs>
|
<defs>
|
||||||
<clipPath id="a" clipPathUnits="userSpaceOnUse">
|
<clipPath id="a" clipPathUnits="userSpaceOnUse">
|
||||||
<path d="m0 612h792v-612h-792v612z"/>
|
<path d="m0 612h792v-612h-792v612z"/>
|
||||||
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-height: $navbar-height - $padding-small-vertical*2;
|
height: $navbar-height - $padding-small-vertical*2;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user