Showing
1 changed file
with
4 additions
and
1 deletions
... | ... | @@ -163,7 +163,10 @@ export const QxSortCondition: React.FC<QxSortConditionProps> = (props) => { |
163 | 163 | style={{ width: '100%' }} |
164 | 164 | > |
165 | 165 | {(sorts || []).map((v: any, k: any) => ( |
166 | - <div style={{ marginBottom: '1em' }} key={v.key}> | |
166 | + <div | |
167 | + style={{ marginBottom: sorts?.length - 1 === k ? 0 : '1em' }} | |
168 | + key={v.key} | |
169 | + > | |
167 | 170 | {columns && ( |
168 | 171 | <Select |
169 | 172 | defaultValue={v.key} | ... | ... |