Skip to content

Commit

Permalink
CSS Library: Font normalization QA updates (#1190)
Browse files Browse the repository at this point in the history
* remove uswds p import

* update megamenu container font size

* update package version

* add back original p styles

* update flaky tests

* update more flaky tests
  • Loading branch information
jamigibbs authored Jun 13, 2024
1 parent 8843d4c commit f7c77a5
Show file tree
Hide file tree
Showing 15 changed files with 452 additions and 444 deletions.
6 changes: 6 additions & 0 deletions packages/css-library/dist/stylesheets/core.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/css-library/dist/stylesheets/core.css.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 0 additions & 23 deletions packages/css-library/dist/stylesheets/uswds-typography.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/css-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/css-library",
"version": "0.8.2",
"version": "0.8.3",
"description": "Department of Veterans Affairs stylesheets, tokens, and utilities",
"packageManager": "[email protected]",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ body {
font-size: 16px;
}

p {
line-height: vars.$base-line-height;
margin-bottom: 1em;
margin-top: 1em;
}

a {
color: vars.$color-primary;
text-decoration: underline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ $marketing-container-height: 380px;
}

p {
font-size: 13.2px;
margin-top: 5px;
}
}
Expand Down
14 changes: 1 addition & 13 deletions packages/css-library/src/stylesheets/uswds-typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,4 @@
*/
p, a, ol, ul, li, dl, dt, dd, form, label, button {
@include typeset('ui');
}

/**
USWDS paragraph style
p {
line-height: 1.5;
max-width: 68ex;
margin-bottom: 0;
margin-top: 0;
}
*/
@include usa-paragraph-style;
}
Loading

0 comments on commit f7c77a5

Please sign in to comment.