Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for non-square logos in Navbar #6901

Closed
wants to merge 1 commit into from

Conversation

psuet
Copy link

@psuet psuet commented Apr 1, 2024

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 psuet requested a review from SchrodingersGat as a code owner April 1, 2024 11:01
Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 8debd12
🔍 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
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.

@matmair
Copy link
Member

matmair commented Apr 1, 2024

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

Copy link

sonarqubecloud bot commented Apr 1, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@SchrodingersGat
Copy link
Member

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

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, will not be distorted and scaled automatically.
@psuet psuet force-pushed the non-square-logo branch from aeaf07c to 8debd12 Compare April 8, 2024 16:58
@SchrodingersGat
Copy link
Member

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

Copy link
Contributor

github-actions bot commented Aug 9, 2024

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

@github-actions github-actions bot added the inactive Indicates lack of activity label Aug 9, 2024
@matmair matmair added this to the 0.16.0 milestone Aug 9, 2024
@matmair matmair removed the inactive Indicates lack of activity label Aug 9, 2024
Copy link
Member

@matmair matmair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SchrodingersGat SchrodingersGat modified the milestones: 0.16.0, 0.17.0 Aug 10, 2024
@SchrodingersGat
Copy link
Member

@psuet can you please address the conflicts here?

SchrodingersGat added a commit to SchrodingersGat/InvenTree that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants