Skip to content

Commit

Permalink
fix(sheets-data-validation-ui): data validation style (#4000)
Browse files Browse the repository at this point in the history
  • Loading branch information
weird94 authored Nov 8, 2024
1 parent 9ae72d0 commit d793188
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,11 @@ export function ListFormulaInput(props: IFormulaInputProps) {
onFocus={() => isFocusFormulaEditorSet(true)}
actions={formulaEditorActionsRef.current}
/>
<FormLayout>
<div ref={containerRef}>
{refFinalList.map((item) => {
return <Template key={item.id} item={item} commonProps={{ onItemChange: handleRefItemChange }} style={{ marginBottom: 12 }} />;
})}
</div>
</FormLayout>
<div ref={containerRef} style={{ marginTop: '12px' }}>
{refFinalList.map((item) => {
return <Template key={item.id} item={item} commonProps={{ onItemChange: handleRefItemChange }} style={{ marginBottom: 12 }} />;
})}
</div>
</>
)
: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export function ListDropDown(props: IDropdownComponentProps) {
const options = list.map((item) => ({
label: item.label,
value: item.label,
color: showColor ? item.color : 'transparent',
color: (showColor || item.color) ? item.color : 'transparent',
}));

return (
Expand Down

0 comments on commit d793188

Please sign in to comment.