changed svg files to work with older browsers for the pre white-space, using old xml:space instead
This commit is contained in:
@@ -16,22 +16,24 @@
|
||||
font-size: 1.5rem;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
white-space: pre;
|
||||
/*
|
||||
* dont work in chrome so use 'tspan' with 'dy' and 'xml:space'
|
||||
*
|
||||
line-height: 0.8;
|
||||
white-space: pre;
|
||||
*/
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<text x="0" y="0">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
<tspan x="0" dy="0.8em" xml:space="preserve"> </tspan>
|
||||
</text>
|
||||
|
||||
<!-- Other SVG elements and attributes -->
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.5 KiB |
Reference in New Issue
Block a user