feat(config): support *_MB env vars for upload size limits
- Add `applyMegabytesOrBytesEnv` to accept size settings in either bytes or MB - Prefer `*_BYTES` when set, otherwise convert `*_MB` to bytes with overflow guard - Add coverage for MB-based environment overrides - Introduce `static/js/upload-popups.js` to lazy-load and cache popup templatesfeat(config): support *_MB env vars for upload size limits - Add `applyMegabytesOrBytesEnv` to accept size settings in either bytes or MB - Prefer `*_BYTES` when set, otherwise convert `*_MB` to bytes with overflow guard - Add coverage for MB-based environment overrides - Introduce `static/js/upload-popups.js` to lazy-load and cache popup templates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.box-window {
|
||||
width: min(760px, calc(100vw - 36px));
|
||||
height: min(560px, calc(100vh - 36px));
|
||||
zoom: var(--ui-scale);
|
||||
}
|
||||
|
||||
.box-toolbar {
|
||||
@@ -192,6 +193,7 @@
|
||||
height: 100dvh;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
.box-titlebar {
|
||||
|
||||
Reference in New Issue
Block a user