mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
fix(core): text-renderer should be readonly (#9244)
fix AF-2010, AF-2009
This commit is contained in:
+5
@@ -98,6 +98,7 @@ export const linkPreviewContainer = style({
|
||||
});
|
||||
|
||||
export const linkPreview = style({
|
||||
cursor: 'default',
|
||||
border: `0.5px solid ${cssVarV2('backlinks/blockBorder')}`,
|
||||
borderRadius: '8px',
|
||||
padding: '8px',
|
||||
@@ -111,6 +112,10 @@ export const linkPreview = style({
|
||||
},
|
||||
});
|
||||
|
||||
globalStyle(`${linkPreview} *`, {
|
||||
cursor: 'default',
|
||||
});
|
||||
|
||||
export const linkPreviewRenderer = style({
|
||||
cursor: 'pointer',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user