Skip to content

Commit

Permalink
Fix spacing for blockquotes, unordered, and ordered lists
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Sep 9, 2024
1 parent d337d53 commit e505984
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"eslint.format.enable": true,
"editor.tabSize": 2
"editor.tabSize": 2,
"files.associations": {
"tailwind.css": "tailwindcss"
}
}
10 changes: 7 additions & 3 deletions assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
.nuxt-content > h2,
.nuxt-content > h3,
.nuxt-content > h4,
.nuxt-content > p {
.nuxt-content > p,
.nuxt-content > blockquote,
.nuxt-content > ul,
.nuxt-content > ol {
@apply lg:mx-24 xl:mx-24 2xl:mx-40;
}

Expand All @@ -28,7 +31,8 @@
.nuxt-content h2,
.nuxt-content h3,
.nuxt-content h4,
.nuxt-content p {
.nuxt-content p,
.nuxt-content blockquote {
@apply max-w-prose;
}

Expand Down Expand Up @@ -84,7 +88,7 @@ table th {

/* Quote */
.nuxt-content blockquote {
@apply left-10 ml-10 border-l-8 border-sogblue-dark bg-gray-100;
@apply border-l-8 border-sogblue-dark bg-gray-100;
quotes: '\201C''\201D''\2018''\2019';
}

Expand Down

0 comments on commit e505984

Please sign in to comment.