diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-11-19 20:36:31 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-19 20:36:57 -0400 |
commit | bd2629856c53facea5ff756a7e03a2758b32b6ba (patch) | |
tree | 4ff423ca6a7bfc444d733ad0c8cd71f8debf0a2e | |
parent | ce78499e4d2b8f75a75c61335e0c18d3ea71fa1e (diff) |
content, css: generateQuickDescription: use blockquote
Lets nested blockquote styling kick in.
-rw-r--r-- | src/content/dependencies/generateQuickDescription.js | 2 | ||||
-rw-r--r-- | src/static/css/site.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/content/dependencies/generateQuickDescription.js b/src/content/dependencies/generateQuickDescription.js index 4c7c944a..e144503e 100644 --- a/src/content/dependencies/generateQuickDescription.js +++ b/src/content/dependencies/generateQuickDescription.js @@ -100,7 +100,7 @@ export default { children); const wrapContent = (attributes, content) => - html.tag('div', {class: 'description-content'}, + html.tag('blockquote', {class: 'description-content'}, {[html.onlyIfContent]: true}, attributes, diff --git a/src/static/css/site.css b/src/static/css/site.css index 781bafd5..7325a655 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1555,6 +1555,10 @@ ul.quick-info li:not(:last-child)::after { text-align: center; } +.quick-description > blockquote { + margin-left: 0 !important; +} + .quick-description .description-content.long hr ~ p { text-align: left; } |