mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 13: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 viewBox="0 0 126.61 126.61" xmlns="http://www.w3.org/2000/svg" width="500" height="500">
|
||||
<svg viewBox="0 0 126.61 126.61" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
|
||||
<g fill="#f3ba2f">
|
||||
<path d="m38.73 53.2 24.59-24.58 24.6 24.6 14.3-14.31-38.9-38.91-38.9 38.9z" />
|
||||
<path d="m0 63.31 14.3-14.31 14.31 14.31-14.31 14.3z" />
|
||||
|
||||
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 547 B |
Reference in New Issue
Block a user