From dce2027a476f888a37254b0c2372f534fc931d4f Mon Sep 17 00:00:00 2001 From: Dan Granville Date: Tue, 11 Apr 2023 13:59:10 +0100 Subject: [PATCH 1/2] Footer: prevent overflow --- .../less/invenio_app_rdm/theme/collections/grid.overrides | 1 + .../less/invenio_app_rdm/theme/globals/site.overrides | 1 + 2 files changed, 2 insertions(+) diff --git a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides index a3e5a793b..f54c9c4e1 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides +++ b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides @@ -36,6 +36,7 @@ .row.footer-bottom, .sub-footer { background-color: @footerDarkColor; box-shadow: 0 2px 5px rgba(0, 0, 0, .2) inset; + padding-bottom: 1rem 0 1rem; } } } diff --git a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides index ebbdba4aa..f10385999 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides +++ b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides @@ -127,6 +127,7 @@ pre.export.result { .invenio-page-body { padding-bottom: @defaultPadding; + padding: 1rem 0 1rem; } From b9c9538c0935ba383a5e892b00a09223d07799ac Mon Sep 17 00:00:00 2001 From: Dan Granville Date: Thu, 22 Aug 2024 11:20:50 +0100 Subject: [PATCH 2/2] use defaulPadding variable Co-authored-by: Karolina <38131488+kpsherva@users.noreply.github.com> --- .../less/invenio_app_rdm/theme/globals/site.overrides | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides index f10385999..efac7bcca 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides +++ b/invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides @@ -126,8 +126,7 @@ pre.export.result { } .invenio-page-body { - padding-bottom: @defaultPadding; - padding: 1rem 0 1rem; + padding: @defaultPadding 0 @defaultPadding; }