mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 11:32:01 +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="#690dd3" fill-rule="evenodd" stroke="none"
|
||||
d="M 0.069122 372.51593 C 0.030947 442.923401 57.076538 500.030884 127.484016 500.069061 L 372.5159 500.201904 C 442.923401 500.240082 500.030884 443.194489 500.069061 372.787018 L 500.201904 127.755127 C 500.240082 57.347626 443.194489 0.240143 372.787018 0.201965 L 127.755112 0.069122 C 57.347641 0.030945 0.240155 57.076538 0.201979 127.484009 Z" />
|
||||
<path id="logo" fill="#ffffff" stroke="none"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user