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

feat: Space out components on detour list page #2763

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

joshlarson
Copy link
Contributor

Before

Screenshot 2024-08-28 at 5 52 52 PM

After

Screenshot 2024-08-28 at 5 54 58 PM

Asana Ticket: https://app.asana.com/0/1205385723132845/1208155044119311/f

Depends on:

Copy link

Coverage of commit 0fb472a

Summary coverage rate:
  lines......: 93.0% (3299 of 3547 lines)
  functions..: 72.5% (1360 of 1876 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@joshlarson joshlarson marked this pull request as ready for review September 3, 2024 16:18
@joshlarson joshlarson requested a review from a team as a code owner September 3, 2024 16:18
@joshlarson joshlarson force-pushed the jdl/feat/space-out-detour-list-page branch from 0fb472a to e26321e Compare September 3, 2024 16:29
Comment on lines 1 to 5
.c-detour-list-page {
background-color: white;
}

.c-detour-list-page__button {
padding: 0.5rem 1rem 0.5rem 1rem;
margin: 24px 24px 36px 24px;
}
Copy link
Member

Choose a reason for hiding this comment

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

I love css, but is there a reason to do this and add to the bundle size vs using bootstrap utilities?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Couple thoughts:

  1. I forgot to push a fix I had where I swapped all of these px's for rem's, so this should actually be margin-bottom: 2.25rem.
  2. I can replace almost all of these with bootstrap utilities, except for margin-bottom: 2.25rem. There's no bootstrap utility for 2.25 * $spacer.
  3. BUT... I think it still looks pretty good with mb-4, which is 1.5 * $spacer, so maybe we can ditch the CSS entirely for now.
Screenshot 2024-09-03 at 12 42 51 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed my mind and added back in a teeny bit of CSS that enables the bigger margin. I replaced everything else with utilities though.

Copy link

github-actions bot commented Sep 3, 2024

Coverage of commit e26321e

Summary coverage rate:
  lines......: 93.0% (3298 of 3547 lines)
  functions..: 72.4% (1359 of 1876 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@joshlarson joshlarson requested a review from firestack September 3, 2024 17:18
Copy link

github-actions bot commented Sep 3, 2024

Coverage of commit d99b04e

Summary coverage rate:
  lines......: 93.0% (3299 of 3547 lines)
  functions..: 72.5% (1360 of 1876 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

github-actions bot commented Sep 4, 2024

Coverage of commit c60cf3a

Summary coverage rate:
  lines......: 93.0% (3299 of 3547 lines)
  functions..: 72.5% (1360 of 1876 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Base automatically changed from jdl/feat/update-borders-on-detour-list-table to main September 4, 2024 17:58
@joshlarson joshlarson force-pushed the jdl/feat/space-out-detour-list-page branch from c60cf3a to c2318e2 Compare September 4, 2024 18:01
@joshlarson joshlarson enabled auto-merge (squash) September 4, 2024 18:03
Copy link

github-actions bot commented Sep 4, 2024

Coverage of commit c2318e2

Summary coverage rate:
  lines......: 93.0% (3299 of 3547 lines)
  functions..: 72.5% (1360 of 1876 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@joshlarson joshlarson merged commit 6e5b635 into main Sep 5, 2024
9 checks passed
@joshlarson joshlarson deleted the jdl/feat/space-out-detour-list-page branch September 5, 2024 13:33
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.

2 participants