Add viewBox attribute to storage page layout SVG image

Recently added SVG image for storage page layout lacks
a viewBox attribute which seems necessary to ensure propoer
rendering. Add it.

Author: Jonathan Katz
Discussion: https://postgr.es/m/ba31e0e1-4c9b-b309-70e8-8e7ac14fc87e%40postgresql.org
This commit is contained in:
Joe Conway 2019-04-27 11:36:51 -04:00
parent 7dc78d8ef3
commit 29046c44f3
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
xmlns='http://www.w3.org/2000/svg'
width='610'
height='210'
viewBox='0.00 0.00 610.00 210.00'
shape-rendering='geometricPrecision'
version='1.0'>
<defs>
@ -37,4 +38,4 @@
<text x='324' y='166' font-family='Courier' font-size='15' stroke='none' fill='#000000' ><![CDATA[Item]]></text>
<text x='509' y='166' font-family='Courier' font-size='15' stroke='none' fill='#000000' ><![CDATA[Special]]></text>
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB