Skip to content

Commit

Permalink
Merge pull request ecamp#3596 from manuelmeister/improve/nuxt-lists-s…
Browse files Browse the repository at this point in the history
…pacing

Fix list spacing in nuxt print
  • Loading branch information
carlobeltrame authored Jun 27, 2023
2 parents 304b374 + 1c6c92c commit 5903468
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions print/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,38 @@ module.exports = {
marginBottom: '0.3em!important',
minHeight: '0.6em!important',
},
ol: {
marginTop: 0,
marginBottom: '0.3em!important',
paddingLeft: '1.125em!important',
},
ul: {
marginTop: 0,
marginBottom: '0.3em!important',
paddingLeft: '1.2em!important',
},
li: {
marginTop: '0!important',
marginBottom: '0.3em!important',
},
'ol > li': {
paddingLeft: '0.2em',
},
'ul > li': {
paddingLeft: '0',
},
'ul ul, ul ol, ol ul, ol ol': {
marginTop: '0',
marginBottom: '0.5em',
},
'--tw-prose-counters': 'black',
'--tw-prose-bullets': 'black',
},
},
neutral: {
css: {
'--tw-prose-counters': 'black',
'--tw-prose-bullets': 'black',
},
},
}),
Expand Down

0 comments on commit 5903468

Please sign in to comment.