Fix: obsessing over pixels

This commit is contained in:
shamoon 2025-02-27 20:22:54 -08:00
parent 865e9fe233
commit 628d85080f
2 changed files with 3 additions and 3 deletions

View 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>

View 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
}
}