]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: obsessing over pixels
authorshamoon <4887959+shamoon@users.noreply.github.com>
Fri, 28 Feb 2025 04:22:54 +0000 (20:22 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Fri, 28 Feb 2025 04:22:54 +0000 (20:22 -0800)
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 b91d5ed628c922257b4df844b8430a06df532504..1f278df16b93ee860f912df1dd45e181417cfe92 100644 (file)
@@ -1,7 +1,7 @@
 <pngx-widget-frame *pngxIfPermissions="{ action: PermissionAction.Add, type: PermissionType.Document }" [cardless]="true">
   <div content tourAnchor="tour.upload-widget">
     <form class="justify-content-center d-flex flex-column align-items-center">
-      <button type="button" class="btn btn-outline-dark bg-light shadow-sm w-100 h-100 pt-3 pb-2" (click)="fileUpload.click()">
+      <button type="button" class="btn btn-outline-dark bg-light shadow-sm w-100 h-100 pt-3 pb-3" (click)="fileUpload.click()">
         <i-bs class="text-primary" name="plus-circle"></i-bs>&nbsp;
         <span class="text-primary" i18n>Upload documents</span>
         <div class="text-muted smaller fst-italic" i18n>or drop files anywhere</div>
index 315313bff867bdcafe72edd488fc4ca0a978ac14..f6d3aa6d467b3562dfe83cc6a21d9447765bdd75 100644 (file)
@@ -49,9 +49,9 @@
 }
 
 .consumer-status-list {
-  max-height: calc(100vh - 315px); // e.g. below the upload button, mobile
+  max-height: calc(100vh - 312px); // e.g. below the upload button, mobile
 
   @media screen and (min-width: 768px) {
-    max-height: calc(100vh - 200px); // e.g. below the upload button
+    max-height: calc(100vh - 208px); // e.g. below the upload button
   }
 }