Allow for non-square logos in Navbar
Some Logos are not "squareable", so they currently look either distorted (without user intervention) or way too small (by manually squaring it)
By loosening the width restriction, most logos, square or rectangular (max ratio 2:1), will not be distorted and scaled automatically.
Deploy Preview for inventree-web-pui-preview ready!
| Name | Link |
|---|---|
| Latest commit | 8debd1286337c5ce05a171d7778a99ef912a5989 |
| Latest deploy log | https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66142254b54bff000820dba7 |
| Deploy Preview | https://deploy-preview-6901--inventree-web-pui-preview.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 100 (no change from production) Accessibility: 86 (🔴 down 3 from production) Best Practices: 100 (no change from production) SEO: 70 (no change from production) PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
At a minimum, there should be max-width set to enforce a reasonable/usable layout
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@psuet can you please address the max-width requirement as above
Hi @psuet if you can fix the conflicts here I'm happy to merge this in, don't want it sitting here forever :)
This PR seems stale. Please react to show this is still important.
@psuet can you please address the conflicts here?
