]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: allow scroll long upload files alerts list (#6184)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 25 Mar 2024 14:53:29 +0000 (07:53 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 14:53:29 +0000 (07:53 -0700)
src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html
src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.scss

index 1d2471bcc438d50579ae80b639999c3fe01730f8..60ee4eda9d12774c0c9d6debf2ff6565f3b3191e 100644 (file)
@@ -6,7 +6,7 @@
       <input type="file" class="visually-hidden" (change)="onFileSelected($event)" multiple #fileUpload>
     </form>
     @if (getStatus().length > 0) {
-    <div class="fixed-bottom p-2 p-md-4 d-flex justify-content-end pe-none" [ngClass]="slimSidebarEnabled ? 'col-slim' : 'offset-md-3 offset-lg-2'">
+    <div class="fixed-bottom p-2 p-md-4 d-flex justify-content-end pe-none max-vh100-40 overflow-y-scroll" [ngClass]="slimSidebarEnabled ? 'col-slim' : 'offset-md-3 offset-lg-2'">
       <div class="col col-lg-4 col-xl-3 ps-0 pe-0 ps-lg-3 pe-lg-0 pe-auto">
         <div class="card shadow-sm consumer-status-card">
           <div class="card-body">
index f0e80c1f46d43e5904f90ecce3450b33131ae8fa..7a050ab43d015705620baa457fc6cf9e184a8699 100644 (file)
@@ -39,3 +39,7 @@ form {
 .consumer-status-card {
   background-color: rgba(var(--bs-body-bg-rgb), .95) !important;
 }
+
+.max-vh100-40 {
+  max-height: calc(100vh - 40px);
+}