Skip to content

Commit

Permalink
Merge branch 'main' into fix/3350/lighthouse-tests-failing
Browse files Browse the repository at this point in the history
  • Loading branch information
alessioventuriniAND authored Sep 17, 2024
2 parents 073d8f4 + 961d454 commit 0ab2862
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/list/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@
}
.ons-list__prefix,
.ons-list__suffix {
@extend .ons-u-m-no;
&--icon-check .ons-icon {
fill: var(--ons-color-leaf-green) !important;
@extend .ons-u-mr-s;
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/list/example-summary-list.njk
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{% from "components/list/_macro.njk" import onsList %}
{{
onsList({
"iconPosition": "before",
"variants": "summary",
"itemsList": [
{
"text": 'birth certificate'
"text": 'birth certificate',
"iconType": "check"
},
{
"text": 'national insurance number'
Expand Down

0 comments on commit 0ab2862

Please sign in to comment.