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

Remove wide card styles #11176

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Remove wide card styles #11176

merged 1 commit into from
Sep 4, 2024

Conversation

aduth
Copy link
Member

@aduth aduth commented Aug 30, 2024

🛠 Summary of changes

Removes styles for the "wide" variation of the card CSS class, and re-layouts the telephony test page as a two-column grid of individual cards.

These styles are only used on the telephony testing screen in internal development. Removing them avoids additional ad-hoc (non-design-system-standard) styling and reduces the size of the end-user application stylesheet.

Easier to review with whitespace changes hidden: https://github.com/18F/identity-idp/pull/11176/files?w=1

📜 Testing Plan

  1. Go to http://localhost:3000/test/telephony
  2. Observe updated layout

👀 Screenshots

Before After
Screenshot 2024-08-30 at 10 31 47 AM Screenshot 2024-08-30 at 10 31 39 AM

changelog: Internal, Performance, Reduce size of application stylesheet
<div class="tablet:grid-col-6">
<h2>Messages</h2>
<div class="grid-row grid-gap margin-top-2 flex-align-stretch">
<% [['Messages', @messages], ['Calls', @calls]].each do |title, messages| %>
Copy link
Contributor

Choose a reason for hiding this comment

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

I started to panic about the un-translated text but then realized this is an internal test page

@aduth aduth merged commit a0d49d6 into main Sep 4, 2024
2 checks passed
@aduth aduth deleted the aduth-rm-wide-card branch September 4, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants