+
+
+
+
diff --git a/frontend/src/v2/layouts/SettingsLayout.vue b/frontend/src/v2/layouts/SettingsLayout.vue
index 3ac291ef7..8066f5c45 100644
--- a/frontend/src/v2/layouts/SettingsLayout.vue
+++ b/frontend/src/v2/layouts/SettingsLayout.vue
@@ -32,8 +32,13 @@ const route = useRoute();
const { mdAndUp } = useBreakpoint();
const isBare = computed(() => route.meta?.bare === true);
// `fill` views (e.g. Logs) pin to the viewport height and scroll their own
-// content internally instead of growing the document.
-const isFill = computed(() => route.meta?.fill === true);
+// content internally instead of growing the document. `fill: "desktop"` does
+// so on md-and-up only, keeping the plain document scroll on phones.
+const isFill = computed(
+ () =>
+ route.meta?.fill === true ||
+ (route.meta?.fill === "desktop" && mdAndUp.value),
+);
// Settings pages share the current cover-art background from wherever
// the user came from. We don't paint over it; just no-op so a stale
diff --git a/frontend/src/v2/lib/forms/RDropzone/RDropzone.stories.ts b/frontend/src/v2/lib/forms/RDropzone/RDropzone.stories.ts
index 61a83123e..557902919 100644
--- a/frontend/src/v2/lib/forms/RDropzone/RDropzone.stories.ts
+++ b/frontend/src/v2/lib/forms/RDropzone/RDropzone.stories.ts
@@ -18,6 +18,7 @@ const meta: Meta = {
disabled: { control: "boolean" },
overlay: { control: "boolean" },
compact: { control: "boolean" },
+ fill: { control: "boolean" },
},
args: {
title: "Drop files here",
@@ -57,6 +58,20 @@ export const Compact: Story = {
args: { compact: true },
};
+// CTA stretched to a parent with a fixed height (e.g. a full-height panel).
+export const Fill: Story = {
+ args: { fill: true },
+ render: (args) => ({
+ components: { RDropzone },
+ setup: () => ({ args }),
+ template: `
+
+
+
+ `,
+ }),
+};
+
export const Disabled: Story = {
args: { disabled: true },
};
diff --git a/frontend/src/v2/lib/forms/RDropzone/RDropzone.vue b/frontend/src/v2/lib/forms/RDropzone/RDropzone.vue
index 3fa06a152..e9739fefb 100644
--- a/frontend/src/v2/lib/forms/RDropzone/RDropzone.vue
+++ b/frontend/src/v2/lib/forms/RDropzone/RDropzone.vue
@@ -33,6 +33,8 @@ interface Props {
overlay?: boolean;
/** CTA mode only: one row with a small icon beside the title and hint. */
compact?: boolean;
+ /** CTA mode only: stretch the CTA to the dropzone's full height. */
+ fill?: boolean;
// CTA copy / icons (ignored in overlay mode except `activeIcon`).
title?: string;
hint?: string;
@@ -106,6 +108,7 @@ defineExpose({ open, isOver: isOverDropZone });
'r-dropzone--active': isOverDropZone && !disabled,
'r-dropzone--disabled': disabled,
'r-dropzone--compact': compact,
+ 'r-dropzone--fill': fill,
}"
>
-
+
diff --git a/frontend/src/v2/views/Gallery/Platform.vue b/frontend/src/v2/views/Gallery/Platform.vue
index a8bcba8d3..78c05ef62 100644
--- a/frontend/src/v2/views/Gallery/Platform.vue
+++ b/frontend/src/v2/views/Gallery/Platform.vue
@@ -10,9 +10,9 @@
// scrolling container of whichever branch is active. On Library, it
// rides in `GalleryShell`'s `#header` slot so it scrolls away with
// the cards and the toolbar pins below it — the same vocabulary the
-// pre-tabs gallery had. On Firmware / Settings it sits in a plain
-// scroll wrapper above the tab body, so the user gets a single
-// natural scroll for the whole page.
+// pre-tabs gallery had. On Firmware / Settings, the head stays fixed
+// above the tab body on desktop (only the panel scrolls); on mobile
+// the head scrolls away too, for one natural page scroll.
//
// Action ribbon (Upload / Scan) lives inside the head component;
// Edit (custom_name) and Delete moved inline into the Settings tab.
@@ -493,10 +493,10 @@ async function onDelete() {
-
+
diff --git a/frontend/src/v2/views/Upload.vue b/frontend/src/v2/views/Upload.vue
index 00fa34a01..32877924a 100644
--- a/frontend/src/v2/views/Upload.vue
+++ b/frontend/src/v2/views/Upload.vue
@@ -203,28 +203,44 @@ async function upload() {