chore: adjust icon and style (#2949)

This commit is contained in:
3720
2023-06-30 23:38:47 +08:00
committed by Alex Yang
parent 721e5e4dd9
commit d24009f494
2 changed files with 13 additions and 12 deletions

View File

@@ -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)',