summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-09-19 09:28:42 +0100
committerGreg Roach <greg@subaqua.co.uk>2022-09-19 09:36:02 +0100
commit5712865df1d46841df931c4993e5c99943abdf90 (patch)
treebe761ab8602ade0eb402d37997372e14884aa5a2
parent37df441a9d09da4ae3e905c2688104073a1b36db (diff)
downloadwebtrees-5712865df1d46841df931c4993e5c99943abdf90.tar.gz
webtrees-5712865df1d46841df931c4993e5c99943abdf90.tar.bz2
webtrees-5712865df1d46841df931c4993e5c99943abdf90.zip
Fix: #4540 - adjust spacing around footer elements
-rw-r--r--resources/views/modules/contact-links/footer.phtml2
-rw-r--r--resources/views/modules/hit-counter/footer.phtml2
-rw-r--r--resources/views/modules/powered-by-webtrees/footer.phtml2
-rw-r--r--resources/views/modules/privacy-policy/footer.phtml10
4 files changed, 8 insertions, 8 deletions
diff --git a/resources/views/modules/contact-links/footer.phtml b/resources/views/modules/contact-links/footer.phtml
index 9adb20142c..44efd9442b 100644
--- a/resources/views/modules/contact-links/footer.phtml
+++ b/resources/views/modules/contact-links/footer.phtml
@@ -7,6 +7,6 @@ declare(strict_types=1);
*/
?>
-<div class="wt-footer wt-footer-contact text-center py-2">
+<div class="wt-footer wt-footer-contact text-center my-2">
<?= $contact_links ?>
</div>
diff --git a/resources/views/modules/hit-counter/footer.phtml b/resources/views/modules/hit-counter/footer.phtml
index 8993228654..89da9e1395 100644
--- a/resources/views/modules/hit-counter/footer.phtml
+++ b/resources/views/modules/hit-counter/footer.phtml
@@ -7,6 +7,6 @@ declare(strict_types=1);
*/
?>
-<div class="wt-footer wt-footer-hit-counter text-center py-2">
+<div class="wt-footer wt-footer-hit-counter text-center my-2">
<?= $hit_counter ?>
</div>
diff --git a/resources/views/modules/powered-by-webtrees/footer.phtml b/resources/views/modules/powered-by-webtrees/footer.phtml
index d73ff4c9d6..22b8eb440b 100644
--- a/resources/views/modules/powered-by-webtrees/footer.phtml
+++ b/resources/views/modules/powered-by-webtrees/footer.phtml
@@ -8,7 +8,7 @@ declare(strict_types=1);
*/
?>
-<div class="wt-footer wt-footer-powered-by text-center">
+<div class="wt-footer wt-footer-powered-by text-center my-2">
<a href="<?= e($url) ?>" class="wt-footer-powered-by-webtrees" dir="ltr">
<?= e($name) ?>
</a>
diff --git a/resources/views/modules/privacy-policy/footer.phtml b/resources/views/modules/privacy-policy/footer.phtml
index 5660bedffe..8b1763d0a3 100644
--- a/resources/views/modules/privacy-policy/footer.phtml
+++ b/resources/views/modules/privacy-policy/footer.phtml
@@ -13,25 +13,25 @@ use Fisharebest\Webtrees\View;
?>
-<div class="wt-footer wt-footer-privacy-policy text-center py-2">
+<div class="wt-footer wt-footer-privacy-policy text-center my-2">
<a href="<?= e(route('module', ['module' => 'privacy-policy', 'action' => 'Page', 'tree' => $tree->name()])) ?>">
<?= I18N::translate('Privacy policy') ?>
</a>
<?php if ($uses_analytics) : ?>
- <div class="alert alert-info alert-dismissible fade" id="cookie-warning">
+ <div class="alert alert-info alert-dismissible fade collapse mb-0" id="privacy-warning">
<?= I18N::translate('This website uses cookies to learn about visitor behavior.') ?>
- <button type="button" id="cookie-warning-button" class="btn-close" data-bs-dismiss="alert" aria-label="<?= I18N::translate('close') ?>">
+ <button type="button" id="privacy-warning-button" class="btn-close" data-bs-dismiss="alert" aria-label="<?= I18N::translate('close') ?>">
</button>
</div>
<?php View::push('javascript') ?>
<script>
if (localStorage.getItem("cookie-warning") !== "ok") {
- document.getElementById("cookie-warning").classList.add("show");
+ document.getElementById("privacy-warning").classList.add("show");
}
- document.getElementById("cookie-warning-button").addEventListener("click", function () {
+ document.getElementById("privacy-warning-button").addEventListener("click", function () {
localStorage.setItem("cookie-warning", "ok");
});
</script>