From a44001fcab3fb4d4ceed8d1659d31763dc90aaec Mon Sep 17 00:00:00 2001 From: rookiestar28 Date: Wed, 8 Apr 2026 23:45:06 +0800 Subject: [PATCH] fix: make png info header scroll with content --- web/tabs/png_info_tab.js | 53 ++++++++++++++--------------- web/tests/unit/png_info_tab.test.js | 8 +++++ 2 files changed, 34 insertions(+), 27 deletions(-) diff --git a/web/tabs/png_info_tab.js b/web/tabs/png_info_tab.js index 114d0ef..bcd83f1 100644 --- a/web/tabs/png_info_tab.js +++ b/web/tabs/png_info_tab.js @@ -164,42 +164,41 @@ export const PngInfoTab = { render(container) { container.innerHTML = `
-
-
PNG Info
- -
-
- -
Drop an image here
-
Click to browse, or focus this panel and paste an image.
-
- -
-
-
-
-
Preview
-
Idle
-
-
No image loaded yet.
- -
-
-
- Read-only metadata inspection only. This tab does not send prompt data into other tabs or workflows. -
-
-
+
+
PNG Info
+ +
+
+ +
Drop an image here
+
Click to browse, or focus this panel and paste an image.
+
+ +
+
+
+
+
Preview
+
Idle
+
+
No image loaded yet.
+ +
+
+
+ Read-only metadata inspection only. This tab does not send prompt data into other tabs or workflows. +
+
Load an image to inspect embedded A1111 or ComfyUI metadata.