Refactored properties component

This commit is contained in:
2025-08-05 00:18:31 +02:00
parent c2fcfbb2ab
commit 3a1870a160
4 changed files with 92 additions and 18 deletions

View File

@@ -629,7 +629,7 @@ function bindWorkflowProperties(elementId) {
const totalWidth = properties_component.getBoundingClientRect().width
console.debug("totalWidth", totalWidth)
const minPropertiesWidth = Math.floor(totalWidth * 0.2); // 20% minimum
const minPropertiesWidth = 340; // this value avoid scroll bars
const inputSection = document.getElementById(`pi_${elementId}`);
const propertiesSection = document.getElementById(`pp_${elementId}`);