Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: dashboard sidebar sticky, bottom margin

shamoon21a9963a2b19
diff --git a/src-ui/src/app/components/dashboard/dashboard.component.html b/src-ui/src/app/components/dashboard/dashboard.component.html
index a503e143d..df67040b8 100644
--- a/src-ui/src/app/components/dashboard/dashboard.component.html
+++ b/src-ui/src/app/components/dashboard/dashboard.component.html
@@ -33,8 +33,8 @@
<div class="p-1" dndPlaceholderRef></div>
</div>
</div>
- <div class="col-auto col-lg-4 col-xl-3">
- <div class="row row-cols-1 g-4">
+ <div class="col-auto col-lg-4 col-xl-3 col-sidebar">
+ <div class="row row-cols-1 g-4 mb-4 sticky-lg-top z-0">
<div class="col">
<pngx-statistics-widget></pngx-statistics-widget>
</div>
diff --git a/src-ui/src/app/components/dashboard/dashboard.component.scss b/src-ui/src/app/components/dashboard/dashboard.component.scss
index e69de29bb..de41297ee 100644
--- a/src-ui/src/app/components/dashboard/dashboard.component.scss
+++ b/src-ui/src/app/components/dashboard/dashboard.component.scss
@@ -0,0 +1,3 @@
+.col-sidebar .row {
+ top: 3.5rem;
+}