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

Fix Logo aspect ratio on Privacy Center 404 page and Consent Page #2895

Merged
merged 6 commits into from
Mar 23, 2023

Conversation

RobertKeyser
Copy link
Contributor

@RobertKeyser RobertKeyser commented Mar 22, 2023

Closes #2893

Code Changes

  • Replace 404 logo width/height attributes to maxWidth/maxHeight
  • Increase the maxWidth/maxHeight sizes to make the logo appear larger on 404 page
  • Remove width constraint from consent page

Steps to Confirm

Pre-Merge Checklist

Description Of Changes

Write some things here about the changes and any potential caveats

@RobertKeyser RobertKeyser added the UI Work related to UI label Mar 22, 2023
@RobertKeyser RobertKeyser self-assigned this Mar 22, 2023
@RobertKeyser RobertKeyser changed the title style: prevent fixed aspect ratio in 404 logo Fix Logo aspect ratio on Privacy Center 404 page Mar 22, 2023
@cypress
Copy link

cypress bot commented Mar 22, 2023

Passing run #959 ↗︎

0 3 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge cf218e5 into 66acc46...
Project: fides Commit: d12dc88fba ℹ️
Status: Passed Duration: 00:39 💡
Started: Mar 23, 2023 3:15 PM Ended: Mar 23, 2023 3:16 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (c47699c) 86.61% compared to head (cf218e5) 86.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2895      +/-   ##
==========================================
- Coverage   86.61%   86.60%   -0.02%     
==========================================
  Files         298      299       +1     
  Lines       16783    16814      +31     
  Branches     2147     2148       +1     
==========================================
+ Hits        14537    14562      +25     
- Misses       1835     1841       +6     
  Partials      411      411              

see 16 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@RobertKeyser RobertKeyser changed the title Fix Logo aspect ratio on Privacy Center 404 page Fix Logo aspect ratio on Privacy Center 404 page and Consent Page Mar 22, 2023
@ThomasLaPiana
Copy link
Contributor

@RobertKeyser do you have screenshots of the diff? We usually prefer to include those for UI changes

@RobertKeyser
Copy link
Contributor Author

@ThomasLaPiana thanks for the suggestion

Original 404:
image

Fixed 404:
image

Original Consent:
image

Fixed Consent:
image

Copy link
Contributor

@seanpreston seanpreston left a comment

Choose a reason for hiding this comment

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

Thanks @RobertKeyser this works a charm:

Screenshot 2023-03-23 at 12 54 00

Screenshot 2023-03-23 at 12 54 13

I do think there's another conversation we can have in the design loop with regards to how much real estate the privacy centre gives the logos, and this is a great first step.

@RobertKeyser RobertKeyser merged commit 988629b into main Mar 23, 2023
@RobertKeyser RobertKeyser deleted the rk-2893-privacy-center-404 branch March 23, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Work related to UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

404 on Privacy Center page doesn't respect aspect ratio of custom logo
3 participants