fix(client): color styling

This commit is contained in:
chenos 2022-05-03 21:31:57 +08:00
parent 22bb36bc1a
commit 90a58cc3cf
2 changed files with 15 additions and 10 deletions

View File

@ -23,15 +23,19 @@ export const FilterGroup = connect((props) => {
return ( return (
<FilterLogicContext.Provider value={logic}> <FilterLogicContext.Provider value={logic}>
<div <div
style={bordered ? { style={
position: 'relative', bordered
border: '1px dashed #dedede', ? {
padding: 14, position: 'relative',
marginBottom: 8, border: '1px dashed #dedede',
} : { padding: 14,
position: 'relative', marginBottom: 8,
marginBottom: 8, }
}} : {
position: 'relative',
marginBottom: 8,
}
}
> >
{remove && ( {remove && (
<a> <a>
@ -40,6 +44,7 @@ export const FilterGroup = connect((props) => {
position: 'absolute', position: 'absolute',
right: 10, right: 10,
top: 10, top: 10,
color: '#bfbfbf',
}} }}
onClick={() => remove()} onClick={() => remove()}
/> />

View File

@ -49,7 +49,7 @@ export const FilterItem = observer((props: any) => {
}, },
})} })}
<a> <a>
<CloseCircleOutlined onClick={() => remove()} /> <CloseCircleOutlined onClick={() => remove()} style={{ color: '#bfbfbf' }} />
</a> </a>
</Space> </Space>
</div> </div>