From c0bbd92c9ea80973e6051aa117123435d93aa1fd Mon Sep 17 00:00:00 2001 From: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Date: Wed, 2 Jul 2025 16:52:52 +0100 Subject: [PATCH] remove footer gap (#3855) # Description of Changes Please provide a summary of the changes, including: - What was changed - Why the change was made - Any challenges encountered Closes #(issue_number) --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> --- .../src/main/resources/settings.yml.template | 2 +- .../src/main/resources/static/css/footer.css | 3 +- .../main/resources/static/css/home-legacy.css | 2 +- .../src/main/resources/static/css/home.css | 3 +- .../resources/templates/fragments/footer.html | 2 +- .../src/main/resources/templates/home.html | 49 ++++++++++++------- 6 files changed, 37 insertions(+), 24 deletions(-) diff --git a/stirling-pdf/src/main/resources/settings.yml.template b/stirling-pdf/src/main/resources/settings.yml.template index 75f23f03f..96701af3b 100644 --- a/stirling-pdf/src/main/resources/settings.yml.template +++ b/stirling-pdf/src/main/resources/settings.yml.template @@ -62,7 +62,7 @@ security: premium: key: 00000000-0000-0000-0000-000000000000 - enabled: true # Enable license key checks for pro/enterprise features + enabled: false # Enable license key checks for pro/enterprise features proFeatures: database: true # Enable database features SSOAutoLogin: false diff --git a/stirling-pdf/src/main/resources/static/css/footer.css b/stirling-pdf/src/main/resources/static/css/footer.css index 3945b1b43..274be2178 100644 --- a/stirling-pdf/src/main/resources/static/css/footer.css +++ b/stirling-pdf/src/main/resources/static/css/footer.css @@ -11,6 +11,7 @@ align-items: center; /* Center children horizontally */ flex-grow: 1; flex-direction: column; + margin-top: 1rem;; } .footer-powered-by { @@ -57,4 +58,4 @@ .footer-link-list{ flex-direction: column; /* Stack links vertically on smaller screens */ } -} \ No newline at end of file +} diff --git a/stirling-pdf/src/main/resources/static/css/home-legacy.css b/stirling-pdf/src/main/resources/static/css/home-legacy.css index b25fafc17..3539edd1f 100644 --- a/stirling-pdf/src/main/resources/static/css/home-legacy.css +++ b/stirling-pdf/src/main/resources/static/css/home-legacy.css @@ -3,7 +3,7 @@ background-color: var(--md-sys-color-surface-container-low); width: 100%; font-size: 16px; - margin-bottom: 2rem; + margin-bottom: 0.5rem; padding: 0.75rem 3.5rem; border: 1px solid var(--md-sys-color-outline-variant); border-radius: 3rem; diff --git a/stirling-pdf/src/main/resources/static/css/home.css b/stirling-pdf/src/main/resources/static/css/home.css index c36a1eb95..fc1a8c3fb 100644 --- a/stirling-pdf/src/main/resources/static/css/home.css +++ b/stirling-pdf/src/main/resources/static/css/home.css @@ -91,7 +91,8 @@ } .newfeature{ - min-width:12rem; + display: flex; + width:fit-content } .recent-features{ display: flex; diff --git a/stirling-pdf/src/main/resources/templates/fragments/footer.html b/stirling-pdf/src/main/resources/templates/fragments/footer.html index 324f550d9..01616ddca 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/footer.html +++ b/stirling-pdf/src/main/resources/templates/fragments/footer.html @@ -1,4 +1,4 @@ -