InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Allow for non-square logos in Navbar

Open psuet opened this issue 1 year ago • 7 comments

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.

psuet avatar Apr 01 '24 11:04 psuet

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...

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.

netlify[bot] avatar Apr 01 '24 11:04 netlify[bot]

At a minimum, there should be max-width set to enforce a reasonable/usable layout

matmair avatar Apr 01 '24 12:04 matmair

@psuet can you please address the max-width requirement as above

SchrodingersGat avatar Apr 01 '24 23:04 SchrodingersGat

Hi @psuet if you can fix the conflicts here I'm happy to merge this in, don't want it sitting here forever :)

SchrodingersGat avatar May 27 '24 03:05 SchrodingersGat

This PR seems stale. Please react to show this is still important.

github-actions[bot] avatar Aug 09 '24 11:08 github-actions[bot]

@psuet can you please address the conflicts here?

SchrodingersGat avatar Sep 17 '24 04:09 SchrodingersGat