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 +1 @@
|
||||
<svg height="800" width="1200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="m0 0h1200v800h-1200z" fill="#ffd700"/><g stroke="#bf0a30" transform="translate(600 400)"><path id="a" d="m157.344 38.2812h-314.688m348.719-25.5312h-382.75m382.75-25.5h-382.75m348.719-25.5312h-314.688" stroke-linecap="round" stroke-width="17"/><use transform="rotate(90)" xlink:href="#a"/><circle fill="#ffd700" r="64.3125" stroke-width="10.625"/></g></svg>
|
||||
<svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1200 800"><path d="m0 0h1200v800h-1200z" fill="#ffd700"/><g stroke="#bf0a30" transform="translate(600 400)"><path id="a" d="m157.344 38.2812h-314.688m348.719-25.5312h-382.75m382.75-25.5h-382.75m348.719-25.5312h-314.688" stroke-linecap="round" stroke-width="17"/><use transform="rotate(90)" xlink:href="#a"/><circle fill="#ffd700" r="64.3125" stroke-width="10.625"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 498 B |
Reference in New Issue
Block a user