From 6879d5fb7331f084411a43db346b9fe0985cb7d6 Mon Sep 17 00:00:00 2001 From: Lukas <38840142+lukasstorck@users.noreply.github.com> Date: Fri, 1 Aug 2025 00:58:31 +0200 Subject: [PATCH] fix: adjust margin of bookmark editor (#4068) # Description of Changes - remove overlapping margins of bookmark editor to the checkbox above - add bottom margin for the bookmark editor element to the "Info"-button below - I guess this simply was a typo `margin-top` vs. `margin-bottom` as the margin to the element above is overlapping --- ## Checklist ### General - [x] 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/devGuide/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/devGuide/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] 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/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [x] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) *before / after*:

before edit with margin highlighted after edit with margin highlighted

before / after with margin highlighted:

before edit with margin highlighted after edit with margin highlighted

### Testing (if applicable) - [x] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing) for more details. --- .../src/main/resources/static/css/edit-table-of-contents.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/src/main/resources/static/css/edit-table-of-contents.css b/app/core/src/main/resources/static/css/edit-table-of-contents.css index 11a4bf777..d85813a73 100644 --- a/app/core/src/main/resources/static/css/edit-table-of-contents.css +++ b/app/core/src/main/resources/static/css/edit-table-of-contents.css @@ -1,6 +1,6 @@ /* Main bookmark container styles */ .bookmark-editor { - margin-top: 20px; + margin-bottom: 20px; padding: 20px; border: 1px solid var(--border-color, #ced4da); border-radius: 0.25rem; @@ -273,4 +273,4 @@ --text-muted: var(--md-sys-color-on-surface-variant, #adb5bd); --bg-empty: var(--md-sys-color-surface-container-low, #24282e); --border-empty: var(--md-sys-color-outline, #495057); -} \ No newline at end of file +}