Skip to content

Commit

Permalink
fix: various small design bug fixes (#634)
Browse files Browse the repository at this point in the history
* refactor: fix footer heading font

* style: fix white border bug for contextual footer band

* fix: remove bullet point from mobile nav-group

* chore: update tokens package
  • Loading branch information
melaniebmn authored Sep 12, 2024
1 parent 085d964 commit 8eefbe4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@cdssnc/gcds-tokens": "^1.17.1",
"@cdssnc/gcds-tokens": "^1.18.1",
"@fortawesome/fontawesome-free": "^6.3.0",
"@stencil/angular-output-target": "file:../../utils/angular-output-target",
"@stencil/postcss": "^2.1.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/web/src/components/gcds-footer/gcds-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
color: var(--gcds-footer-main-text);
}
}

h3 {
font: var(--gcds-footer-font-heading-desktop);

@media only screen and (width < 48em) {
font: var(--gcds-footer-font-heading-mobile);
}
}
}
}

Expand All @@ -75,6 +83,9 @@
background-color: var(--gcds-footer-contextual-background);
color: var(--gcds-footer-contextual-text);
padding: var(--gcds-footer-contextual-padding);

/* Fix weird white border bug */
margin-block-end: -1px;
}
}

Expand Down
4 changes: 4 additions & 0 deletions packages/web/src/components/gcds-nav-group/gcds-nav-group.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
.gcds-nav-group__trigger-desc {
display: none;
}

ul {
list-style: none;
}
}
}

Expand Down

0 comments on commit 8eefbe4

Please sign in to comment.