diff --git a/src/App.vue b/src/App.vue
index cf97f8c8a..b7f346690 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -60,6 +60,14 @@ watchEffect(() => {
)
})
+watchEffect(() => {
+ const padding = useSettingStore().get('Comfy.TreeExplorer.ItemPadding')
+ document.documentElement.style.setProperty(
+ '--comfy-tree-explorer-item-padding',
+ `${padding}px`
+ )
+})
+
const { t } = useI18n()
const init = () => {
useSettingStore().addSettings(app.ui.settings)
@@ -126,6 +134,12 @@ onUnmounted(() => {
})
+
+