mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 15:32:03 +00:00
Update SVG logos to use percentage dimensions and add viewBox where missing
- Modified SVG files for logos (webtorrent, wifi, wise-icon, zoom-icon, zoom) to set width and height to 100% for better responsiveness. - Added viewBox attribute to SVGs that lacked it, using existing width and height values when available. - Implemented a validation and fixing function in update-data.js to automate the process of ensuring SVGs have the correct attributes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="5000" height="5000" viewBox="0 0 5000 5000">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="100%" height="100%" viewBox="0 0 5000 5000">
|
||||
<g id="background" fill="#0096DB" fill-rule="evenodd" >
|
||||
<path id="background" d="M -0 4600 C -0 4820.914063 179.086105 5000 400 5000 L 4600 5000 C 4820.914063 5000 5000 4820.914063 5000 4600 L 5000 400 C 5000 179.085938 4820.914063 0 4600 0 L 400 0 C 179.086105 0 -0 179.085938 -0 400 Z"/>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user