fix(core): long page title issue in page history (#5436)

![CleanShot 2023-12-28 at 18.17.50@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/43733a5b-d1b4-40d5-b9d4-f86896cc0598.png)
This commit is contained in:
Peng Xiao
2023-12-29 07:27:02 +00:00
parent f65c5dbfa7
commit 9e092b9c15

View File

@@ -52,6 +52,9 @@ export const previewHeaderTitle = style({
fontSize: 'var(--affine-font-xs)',
fontWeight: 600,
maxWidth: 400, // better responsiveness
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
});
export const previewHeaderTimestamp = style({