Merge pull request #6970 from firefly-iii/fix-6964

Fix 6964
This commit is contained in:
James Cole 2023-02-04 07:46:52 +01:00 committed by GitHub
commit e20dc78620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View File

@ -297,7 +297,7 @@ class CreateAutoBudgetLimits implements ShouldQueue
Log::info(sprintf('The amount left is negative, so it will be reset to %s.', $totalAmount)); Log::info(sprintf('The amount left is negative, so it will be reset to %s.', $totalAmount));
} }
if (1 !== bccomp('0', $budgetLeft)) { if (1 !== bccomp('0', $budgetLeft)) {
$totalAmount = bcadd($budgetLeft, $budgetLimit->amount); $totalAmount = bcadd($budgetLeft, $totalAmount);
Log::info(sprintf('The amount left is positive, so the new amount will be %s.', $totalAmount)); Log::info(sprintf('The amount left is positive, so the new amount will be %s.', $totalAmount));
} }

View File

@ -112,6 +112,17 @@
background-color: #343941; background-color: #343941;
color: #c9d1d9; color: #c9d1d9;
} }
.skin-firefly-iii .modal-content {
position: relative;
background-color: #353c42;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
background-clip: padding-box;
outline: 0;
}
.skin-firefly-iii h4 { .skin-firefly-iii h4 {
color: #44DEF1; color: #44DEF1;
} }

File diff suppressed because one or more lines are too long