Skip to content

Commit

Permalink
Merge branch 'fix/list-markdown' into 'master'
Browse files Browse the repository at this point in the history
fix: add list style type for markdown content

See merge request schema/origin-storefront!110
  • Loading branch information
by-tim committed Nov 20, 2021
2 parents 1aa16f9 + 9cc29d8 commit e096f13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions assets/css/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ textarea {
.tracking-inherit {
letter-spacing: inherit;
}

.markdown ul {
@apply list-inside list-disc;
}

.markdown ol {
@apply list-inside list-decimal;
}
2 changes: 1 addition & 1 deletion pages/products/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
}}
</span>
</div>
<div v-html="product.description" />
<div class="markdown" v-html="product.description" />

<!-- Product options -->
<div v-for="input in optionInputs" :key="input.name" class="my-8">
Expand Down

0 comments on commit e096f13

Please sign in to comment.