fix(core): db properties ui issues (#8638)

fix AF-1562
fix BS-1711
This commit is contained in:
pengx17
2024-10-31 04:46:50 +00:00
parent afcf595626
commit d96cc097c2
8 changed files with 68 additions and 102 deletions
@@ -1,6 +1,6 @@
import { cssVar } from '@toeverything/theme';
import { cssVarV2 } from '@toeverything/theme/v2';
import { globalStyle, style } from '@vanilla-extract/css';
import { style } from '@vanilla-extract/css';
export const root = style({
display: 'flex',
@@ -41,7 +41,3 @@ export const cellList = style({
flexDirection: 'column',
gap: 4,
});
globalStyle(`${docRefLink} .affine-reference-title`, {
border: 'none',
});
@@ -7,7 +7,7 @@ import {
import { AffinePageReference } from '@affine/core/components/affine/reference-link';
import { useI18n } from '@affine/i18n';
import type { DatabaseBlockDataSource } from '@blocksuite/affine/blocks';
import { DatabaseTableViewIcon } from '@blocksuite/icons/rc';
import { DatabaseTableViewIcon, PageIcon } from '@blocksuite/icons/rc';
import {
DocService,
LiveData,
@@ -117,6 +117,7 @@ const DatabaseBacklinkRow = ({
className={styles.docRefLink}
pageId={row.docId}
params={pageRefParams}
Icon={PageIcon}
/>
}
>