From 3ba924a3396a6e2362b16da7d1ceea232b080ce7 Mon Sep 17 00:00:00 2001 From: zombieyang Date: Thu, 22 May 2025 18:45:14 +0800 Subject: [PATCH] style optimize --- plugins/photoshop/css/styles.css | 2 +- plugins/photoshop/run.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/photoshop/css/styles.css b/plugins/photoshop/css/styles.css index dc3b9ba..36446f6 100644 --- a/plugins/photoshop/css/styles.css +++ b/plugins/photoshop/css/styles.css @@ -130,6 +130,7 @@ sp-progressbar { align-items: center; overflow: hidden; height: 28px; + margin-top: 4px; } .connect-box #url-bar { @@ -726,7 +727,6 @@ h1 { width: 100%; height: 30px; background-color: var(--uxp-host-background-color); - margin-bottom: 4px; } .sdppp-login-block { diff --git a/plugins/photoshop/run.js b/plugins/photoshop/run.js index 3660779..2175a85 100644 --- a/plugins/photoshop/run.js +++ b/plugins/photoshop/run.js @@ -28,7 +28,7 @@ class PanelController { create() { this[_root] = document.createElement("div"); this[_root].style.height = "100vh"; - this[_root].style.overflowY = "auto"; + this[_root].style.overflowY = "hidden"; this[_root].style.overflowX = "hidden"; // render entry