|
|
@@ -36,31 +36,36 @@ input[type=checkbox]:disabled { cursor:not-allowed; }
|
|
|
|
|
|
.credit-panel a{color:#1b735d;font-weight:600;text-underline-offset:3px}.credit-panel form,.ledger-panel{scroll-margin-top:90px}
|
|
|
|
|
|
-// Keep member credit controls sized to their content instead of stretching across the panel.
|
|
|
+// Flexible fields fill each row; numeric inputs stay narrow and actions form a shared footer.
|
|
|
+.credit-submit-row { display:contents; }
|
|
|
.credit-entry-fields {
|
|
|
display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; padding:14px 0;
|
|
|
- > label { flex:0 1 180px; gap:5px; }
|
|
|
- > .credit-direction { flex-basis:220px; }
|
|
|
- > .credit-quantity { flex-basis:100px; }
|
|
|
+ > label { flex:1 1 160px; gap:5px; }
|
|
|
+ > .credit-direction { flex-basis:200px; }
|
|
|
+ > .credit-quantity { flex:0 0 100px; }
|
|
|
> .credit-adjust-scope { flex-basis:240px; }
|
|
|
- > .credit-source { flex-basis:360px; }
|
|
|
- > .credit-reason, > .credit-evidence { flex-basis:380px; }
|
|
|
- > p { flex:0 0 100%; margin:0; font-size:13px; }
|
|
|
- > button { flex:0 0 auto; }
|
|
|
- > a { display:inline-flex; align-items:center; min-height:40px; font-size:13px; }
|
|
|
+ > .credit-source { flex:2 1 360px; }
|
|
|
+ > .credit-reason, > .credit-evidence { flex:2 1 300px; }
|
|
|
+ > .credit-submit-row {
|
|
|
+ flex:0 0 100%; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px 16px;
|
|
|
+ > p { flex:1 1 360px; margin:0; font-size:13px; }
|
|
|
+ > button { flex:0 0 auto; }
|
|
|
+ > a { display:inline-flex; align-items:center; min-height:40px; font-size:13px; }
|
|
|
+ }
|
|
|
}
|
|
|
@media(max-width:650px) {
|
|
|
.credit-entry-fields {
|
|
|
gap:10px;
|
|
|
> label { flex:1 1 calc(50% - 5px); }
|
|
|
> .credit-source, > .credit-reason, > .credit-evidence { flex-basis:100%; }
|
|
|
+ > .credit-submit-row { justify-content:flex-start; }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.ledger-filters {
|
|
|
display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 12px;
|
|
|
- > label { flex:0 1 160px; gap:5px; }
|
|
|
- > app-operations-date-filter { flex:0 1 180px; --date-filter-height:48px; }
|
|
|
+ > label { flex:1 1 160px; gap:5px; }
|
|
|
+ > app-operations-date-filter { flex:1.1 1 180px; --date-filter-height:48px; }
|
|
|
> .account-actions { flex:0 0 auto; }
|
|
|
}
|
|
|
@media(max-width:650px) {
|