Skip to content

Commit

Permalink
Added support for nested lists to email newsletter template (#17161)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanne-san committed Jul 3, 2023
1 parent 4a6a61b commit 1a9ca8a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ghost/email-service/lib/email-templates/partials/styles-old.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,26 @@ ul {
list-style: disc;
}
ul ul {
list-style: circle;
}
ul ul ul {
list-style: square;
}
ol {
list-style: decimal;
}
ol ol {
list-style: lower-alpha;
}
ol ol ol {
list-style: lower-roman;
}
ul,
ol {
max-width: 100%;
Expand Down
16 changes: 16 additions & 0 deletions ghost/email-service/lib/email-templates/partials/styles.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,26 @@ ul {
list-style: disc;
}
ul ul {
list-style: circle;
}
ul ul ul {
list-style: square;
}
ol {
list-style: decimal;
}
ol ol {
list-style: lower-alpha;
}
ol ol ol {
list-style: lower-roman;
}
ul,
ol {
max-width: 100%;
Expand Down

0 comments on commit 1a9ca8a

Please sign in to comment.