diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-16 17:38:17 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-16 17:38:35 -0400 |
commit | fbcfb88ea407ab76d278c28f1f0711502ab2fbf9 (patch) | |
tree | 5f27926122c751db237c3bbe42542646c186c889 | |
parent | c9c8ccfbeb6a013131dee429da0f12192364a8d0 (diff) |
content, css: quick visual fixes for commentary entries
-rw-r--r-- | src/content/dependencies/transformContent.js | 4 | ||||
-rw-r--r-- | src/static/site5.css | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 3c2c3521..dab89630 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -450,7 +450,9 @@ export default { // In inline mode, no further processing is needed! if (slots.mode === 'inline') { - return html.tags(contentFromNodes.map(node => node.data)); + return html.tags( + contentFromNodes.map(node => node.data), + {[html.joinChildren]: ''}); } // Multiline mode has a secondary processing stage where it's passed... diff --git a/src/static/site5.css b/src/static/site5.css index ba44ec37..dd16cbf9 100644 --- a/src/static/site5.css +++ b/src/static/site5.css @@ -540,6 +540,7 @@ p .current { .commentary-entry-heading { margin-left: 15px; padding-left: 5px; + max-width: 625px; padding-bottom: 0.2em; border-bottom: 1px dotted var(--primary-color); } @@ -1700,7 +1701,7 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content float: right; width: 40%; max-width: 400px; - margin: -60px 0 10px 10px; + margin: -60px 0 10px 20px; position: relative; z-index: 2; |