From 7613e70f63f62edad311efd18a151d1d54c119ee Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Fri, 12 Dec 2025 17:03:27 -0800 Subject: [PATCH] style-fix: Don't add body padding with no body. (#7424) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Small fix for collapsed nodes. ## Screenshots (if applicable) ### Before image ### After image ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7424-style-fix-Don-t-add-body-padding-with-no-body-2c86d73d3650817cb8f7ccf859e6ab3a) by [Unito](https://www.unito.io) --- src/renderer/extensions/vueNodes/components/LGraphNode.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/extensions/vueNodes/components/LGraphNode.vue b/src/renderer/extensions/vueNodes/components/LGraphNode.vue index 778a17096..52426aa32 100644 --- a/src/renderer/extensions/vueNodes/components/LGraphNode.vue +++ b/src/renderer/extensions/vueNodes/components/LGraphNode.vue @@ -9,7 +9,7 @@ :data-node-id="nodeData.id" :class=" cn( - 'bg-component-node-background lg-node absolute pb-1 text-sm', + 'bg-component-node-background lg-node absolute text-sm', 'contain-style contain-layout min-w-[225px] min-h-(--node-height) w-(--node-width)', shapeClass, 'touch-none flex flex-col', @@ -31,7 +31,8 @@ shouldHandleNodePointerEvents ? 'pointer-events-auto' - : 'pointer-events-none' + : 'pointer-events-none', + !isCollapsed && ' pb-1' ) " :style="[