styleguide: update icons.scss, update navigation icons, add WIP icon grid
All checks were successful
/ build (push) Successful in 11s

This commit is contained in:
kritzl 2025-03-06 02:17:45 +01:00
commit da8c820122
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
23 changed files with 1028 additions and 222 deletions

View file

@ -27,7 +27,7 @@ function loadImage(base64Image) {
let svgDataUrl;
sourceImage.onload = function () {
let svgViewBox = `0 0 ${Math.trunc(800 / this.height * this.width)} 800`;
let svgViewBox = `0 0 ${Math.trunc((800 / this.height) * this.width)} 800`;
svg.setAttribute("height", this.height);
svg.setAttribute("width", this.width);
svg.setAttribute("viewBox", svgViewBox);