mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 17:34: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" width="800.00006" height="400.00003" viewBox="0 0 211.66668 105.83334">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 211.66668 105.83334">
|
||||
<path
|
||||
style="opacity:1;fill:#fff;stroke:none;stroke-width:.26458333;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4.9;paint-order:fill markers stroke"
|
||||
d="M-2.8016129 50.984024h211.66669v105.83334h-211.66669z" transform="translate(2.8016129 -50.984024)" />
|
||||
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user