mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-03 12:10:11 +00:00
standardize size and color
This commit is contained in:
@@ -118,7 +118,7 @@ export const useBadgedNumberInput = (
|
||||
// Optional: minimum height for the widget
|
||||
getMinHeight: () => minHeight + PADDING,
|
||||
// Lock maximum height to prevent oversizing
|
||||
getMaxHeight: () => 45,
|
||||
getMaxHeight: () => 48,
|
||||
|
||||
// Optional: whether to serialize this widget's value
|
||||
serialize
|
||||
|
||||
@@ -31,9 +31,9 @@ const addMultiSelectWidget = (node: LGraphNode, inputSpec: ComboInputSpec) => {
|
||||
widgetValue.value = value
|
||||
},
|
||||
// Optional: minimum height for the widget (multiselect needs minimal height)
|
||||
getMinHeight: () => 32,
|
||||
getMinHeight: () => 24,
|
||||
// Lock maximum height to prevent oversizing
|
||||
getMaxHeight: () => 45,
|
||||
getMaxHeight: () => 32,
|
||||
// Optional: whether to serialize this widget's value
|
||||
serialize: true
|
||||
}
|
||||
|
||||
@@ -50,9 +50,9 @@ export const useDropdownComboWidget = (
|
||||
},
|
||||
|
||||
// Optional: minimum height for the widget (dropdown needs minimal height)
|
||||
getMinHeight: () => 48,
|
||||
getMinHeight: () => 32,
|
||||
// Lock maximum height to prevent oversizing
|
||||
getMaxHeight: () => 64,
|
||||
getMaxHeight: () => 48,
|
||||
|
||||
// Optional: whether to serialize this widget's value
|
||||
serialize: true
|
||||
|
||||
Reference in New Issue
Block a user