mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-15 22:11:39 -07:00
Fix putting elements under <p> (#521)
* Fix putting elements under <p> * Added Jest test to catch this mistake in the future. It does it by watching console.error(). To add in fixing the bug the test's emulated `console.error()` are echoed to the jest console.error() so they are not lost. * I tested this by putting a `<h1>` back into the `<p>` and it caught it. * Update scoreStepsList.test.tsx * added comment to move console.error ticket to global location Co-authored-by: Vim <86254807+vim-usds@users.noreply.github.com>
This commit is contained in:
parent
6691df3e31
commit
f7bfc979ba
4 changed files with 104 additions and 72 deletions
|
@ -407,6 +407,13 @@ $primary-color: #112f4e;
|
|||
}
|
||||
}
|
||||
|
||||
ul.j40-process-nested-list {
|
||||
margin-bottom: 2rem;
|
||||
> li {
|
||||
list-style-type: disc; /* without this, we get hollow circles */
|
||||
}
|
||||
}
|
||||
|
||||
/* these are currently used in the list, but it seems like they should be globally consistent with the rest of the site */
|
||||
.j40-item-list-title {
|
||||
margin-block-end: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue