Skip to content

Commit

Permalink
[UI] Update filter modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lw committed May 25, 2024
1 parent b65ebbe commit ccb47c4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions packages/extension-koni-ui/src/components/Modal/FilterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function Component (props: Props): React.ReactElement<Props> {
);
}

export const FilterModal = styled(Component)<Props>(({ theme: { token } }: Props) => {
export const FilterModal = styled(Component)<Props>(({ theme: { extendToken, token } }: Props) => {
return ({
'.ant-sw-modal-body': {
paddingBottom: token.paddingXS
Expand All @@ -95,11 +95,19 @@ export const FilterModal = styled(Component)<Props>(({ theme: { token } }: Props
},

'.__option-item': {
display: 'flex'
display: 'flex',
paddingTop: token.paddingXS,
paddingBottom: token.paddingXS
},

'.__options-container': {
backgroundColor: extendToken.colorBgSecondary1,
padding: '8px 16px',
borderRadius: 20
},

'.__option-item + .__option-item': {
marginTop: token.sizeLG
marginTop: token.marginXXS
},

'.ant-checkbox-wrapper': {
Expand Down

0 comments on commit ccb47c4

Please sign in to comment.