ui: checkbox spacing
This commit is contained in:
parent
69d1d88600
commit
95455f761b
2 changed files with 2 additions and 3 deletions
|
|
@ -77,13 +77,12 @@ function SaveSearchModal({ show, closeHandler, rename = false }: Props) {
|
|||
className={cn('flex items-center', { disabled: savedSearch.exists() && savedSearch.userId !== userId })}>
|
||||
<Checkbox
|
||||
name="isPublic"
|
||||
className="font-medium mr-3"
|
||||
type="checkbox"
|
||||
checked={savedSearch.isPublic}
|
||||
onClick={onChangeOption}
|
||||
/>
|
||||
<div
|
||||
className="flex items-center cursor-pointer select-none"
|
||||
className="flex items-center cursor-pointer select-none ml-2"
|
||||
onClick={() => searchStore.editSavedSearch({ isPublic: !savedSearch.isPublic })}
|
||||
>
|
||||
<Icon name="user-friends" size="16" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ interface Props {
|
|||
[x: string]: any;
|
||||
}
|
||||
export default (props: Props) => {
|
||||
const { className = '', label = '', ...rest } = props;
|
||||
const { className = '', label, ...rest } = props;
|
||||
return (
|
||||
<AntCheckbox {...rest}>
|
||||
{label}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue