Skip to content

Commit

Permalink
[MIM-1904] Add global styling for line-height for lists (#2782)
Browse files Browse the repository at this point in the history
Add global styling for line-height for lists
MIM-1904
  • Loading branch information
johnnadeluy authored Jun 7, 2024
1 parent 0a8f6cd commit 8002539
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/assets/styles/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}

ul, ol {
padding-left: 1em;
padding-left: 1rem;
}

& > * {
Expand Down
11 changes: 9 additions & 2 deletions src/main/resources/assets/styles/_globalStyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ h6 {
&.statbank-title{
font-size: 28px;
line-height: 36px;
}
}
}
}

Expand Down Expand Up @@ -89,6 +89,13 @@ p {
color: $ssb-white;
}
}

ul {
li, ol {
line-height: 1.7rem;
}
}

/* -- End text -- */


Expand All @@ -111,7 +118,7 @@ p > a, p > strong > a, ul > li > a, ol > li > a, table a, .rich-text span a {
cursor: pointer;
display: inline;
font-size: $default-font-size;
line-height: 1.7;
line-height: 1.7rem;
margin-top: -3px;
margin-bottom: -2px;
padding: 0 1px 2px 1px;
Expand Down

0 comments on commit 8002539

Please sign in to comment.