chore: adjust icon and style (#2949)
This commit is contained in:
@@ -4,7 +4,8 @@ import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
|||||||
import {
|
import {
|
||||||
DeleteIcon,
|
DeleteIcon,
|
||||||
EdgelessIcon,
|
EdgelessIcon,
|
||||||
FilterIcon,
|
FilterMinusIcon,
|
||||||
|
FilterUndoIcon,
|
||||||
MoreHorizontalIcon,
|
MoreHorizontalIcon,
|
||||||
PageIcon,
|
PageIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons';
|
||||||
@@ -56,7 +57,7 @@ export const PageOperations = ({
|
|||||||
...(inAllowList
|
...(inAllowList
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
icon: <FilterIcon />,
|
icon: <FilterMinusIcon />,
|
||||||
name: 'Remove special filter',
|
name: 'Remove special filter',
|
||||||
click: () => removeFromAllowList(page.id),
|
click: () => removeFromAllowList(page.id),
|
||||||
},
|
},
|
||||||
@@ -65,7 +66,7 @@ export const PageOperations = ({
|
|||||||
...(!inExcludeList
|
...(!inExcludeList
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
icon: <FilterIcon />,
|
icon: <FilterUndoIcon />,
|
||||||
name: 'Exclude from filter',
|
name: 'Exclude from filter',
|
||||||
click: () => addToExcludeList(page.id),
|
click: () => addToExcludeList(page.id),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -157,11 +157,11 @@ export const EditCollection = ({
|
|||||||
className={styles.scrollContainer}
|
className={styles.scrollContainer}
|
||||||
viewPortClassName={styles.container}
|
viewPortClassName={styles.container}
|
||||||
>
|
>
|
||||||
<div className={styles.excludeList}>
|
{value.excludeList?.length ? (
|
||||||
<div className={styles.excludeTitle}>
|
<div className={styles.excludeList}>
|
||||||
Exclude from this collection
|
<div className={styles.excludeTitle}>
|
||||||
</div>
|
Exclude from this collection
|
||||||
{value.excludeList ? (
|
</div>
|
||||||
<div className={styles.excludeListContent}>
|
<div className={styles.excludeListContent}>
|
||||||
{value.excludeList.map(id => {
|
{value.excludeList.map(id => {
|
||||||
return (
|
return (
|
||||||
@@ -174,11 +174,11 @@ export const EditCollection = ({
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
<div className={styles.excludeTip}>
|
||||||
<div className={styles.excludeTip}>
|
These pages will never appear in the current collection
|
||||||
These pages will never appear in the current collection
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
) : null}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'var(--affine-hover-color)',
|
backgroundColor: 'var(--affine-hover-color)',
|
||||||
|
|||||||
Reference in New Issue
Block a user