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