feat: add margin to comments widget for improved spacing and readability
This commit is contained in:
1 parent
dceae7a2ec
commit
8243c6dbd2
2 files changed
+7
-2
No files matched your search
@@ -1984,6 +1984,9 @@ button:focus:not(:focus-visible) {
|
|||||||
|
|
||||||
.post-share-btn .bd-icon { margin-right: 0; }
|
.post-share-btn .bd-icon { margin-right: 0; }
|
||||||
|
|
||||||
|
/* Separate the comments widget from the share row so it doesn't feel cramped. */
|
||||||
|
.utterances { margin-top: var(--space-xl) !important; }
|
||||||
|
|
||||||
/* ========================================
|
/* ========================================
|
||||||
PREV / NEXT ARTICLE NAV
|
PREV / NEXT ARTICLE NAV
|
||||||
======================================== */
|
======================================== */
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
// below to override. Empty -> the icon is hidden.
|
// below to override. Empty -> the icon is hidden.
|
||||||
$blowditEmail = '';
|
$blowditEmail = '';
|
||||||
if (isset($site)) {
|
if (isset($site)) {
|
||||||
// Bludit's accessor is getValue(); fall back to getField() just in case.
|
// Try Bludit's site settings (accessor is getValue(); getField() as backup).
|
||||||
$bdGet = method_exists($site, 'getValue') ? 'getValue'
|
$bdGet = method_exists($site, 'getValue') ? 'getValue'
|
||||||
: (method_exists($site, 'getField') ? 'getField' : null);
|
: (method_exists($site, 'getField') ? 'getField' : null);
|
||||||
if ($bdGet) {
|
if ($bdGet) {
|
||||||
@@ -17,7 +17,9 @@
|
|||||||
if (empty($blowditEmail)) { $blowditEmail = $site->$bdGet('email'); }
|
if (empty($blowditEmail)) { $blowditEmail = $site->$bdGet('email'); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// $blowditEmail = 'you@example.com'; // <- uncomment to set manually
|
// Bludit's sender email isn't always exposed to themes (it's an SMTP/plugin
|
||||||
|
// setting), so fall back to a fixed address. Set to '' to hide the icon.
|
||||||
|
if (empty($blowditEmail)) { $blowditEmail = 'contact@interlope.xyz'; }
|
||||||
$blowditTwitterHandle = '@spleenftw'; // twitter:site / twitter:creator; '' to omit
|
$blowditTwitterHandle = '@spleenftw'; // twitter:site / twitter:creator; '' to omit
|
||||||
|
|
||||||
// Read the theme from a cookie so the root element can be rendered
|
// Read the theme from a cookie so the root element can be rendered
|
||||||
|
|||||||
Reference in new issue
Block a user