Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: modify style

QiShaoXuanb2fe31dc02a9
diff --git a/packages/app/src/components/page-list/index.tsx b/packages/app/src/components/page-list/index.tsx
index 2501f13bac..d31767b818 100644
--- a/packages/app/src/components/page-list/index.tsx
+++ b/packages/app/src/components/page-list/index.tsx
@@ -51,7 +51,7 @@ const FavoriteTag = ({
style={{
color: favorite ? theme.colors.primaryColor : theme.colors.iconColor,
}}
- className="favorite-button"
+ className={favorite ? '' : 'favorite-button'}
>
{favorite ? (
<FavouritedIcon data-testid="favourited-icon" />
diff --git a/packages/app/src/ui/table/styles.ts b/packages/app/src/ui/table/styles.ts
index 009888e8b1..ab1a2629df 100644
--- a/packages/app/src/ui/table/styles.ts
+++ b/packages/app/src/ui/table/styles.ts
@@ -9,7 +9,7 @@ export const StyledTable = styled.table<{ tableLayout: 'auto' | 'fixed' }>(
tableLayout,
width: '100%',
borderCollapse: 'separate',
- borderSpacing: '0 25px',
+ borderSpacing: '0',
};
}
);
@@ -52,7 +52,6 @@ export const StyledTableHead = styled.thead(() => {
export const StyledTableRow = styled.tr(({ theme }) => {
return {
- marginBottom: '25px',
td: {
transition: 'background .15s',
},