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 width="500" height="500" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="100%" height="100%" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
|
||||
<path id="background" fill="#000000" fill-rule="evenodd" stroke="none"
|
||||
d="M 0 470 C -0 486.568542 13.431458 500 30 500 L 470 500 C 486.568542 500 500 486.568542 500 470 L 500 30 C 500 13.431458 486.568542 0 470 0 L 30 0 C 13.431458 0 0 13.431458 0 30 Z" />
|
||||
<g id="text" fill="#ffffff" stroke="none">
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user