Closed (fixed)
Project:
U.S. Web Design System (USWDS)
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
2 May 2019 at 22:04 UTC
Updated:
25 Jul 2019 at 21:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
fskreuz commentedComment #3
Irisibk commented@fskreuz as always, thanks for all your work on this. I listed a couple of questions below.
Also, can we break this up into smaller pieces? It would be great to isolate & merge your page.html.twig fixes.
.usa-unstyled-list was replaced with .usa-list.usa-list--unstyled in v2.0.0 Beta7
Do we want to remove the site slogan? This will affect users that are currently displaying theirs.
Comment #4
fskreuz commentedHi!
Attached is a patch of new changes. This one omits the page.html.twig entirely. It was mostly indentation anyways, and #3053835 pretty much addressed the main issue in that file. The new file also contains a bunch of little tweaks as well:
- re: slogan, the library does not provide anything for a slogan so I initially removed it. Now it's back, but styled with
usa-logo__textso that it matches the site name styling, instead of the larger<h2>.- re: list reset, I removed that entirely. That block preprocess applies the attributes to the block container, so it's not really the right place to put the list classes.
- Local action items are printed directly as
<li>. Added a template for local actions which wraps them in a<ul class="usa-list usa-list--unstyled">to apply the reset correctly and have markup that makes sense.Comment #7
Irisibk commented