mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 08:01:31 +03:00
fix(core): doc header drag preview styles (#9105)
This commit is contained in:
parent
9b0f1bb293
commit
01effaa0f1
@ -1,3 +1,4 @@
|
||||
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||
import { style } from '@vanilla-extract/css';
|
||||
|
||||
export const root = style({
|
||||
@ -49,4 +50,9 @@ export const dragHandle = style({
|
||||
export const dragPreview = style({
|
||||
// see https://atlassian.design/components/pragmatic-drag-and-drop/web-platform-design-constraints/#native-drag-previews
|
||||
maxWidth: '280px',
|
||||
border: `1px solid ${cssVarV2('layer/insideBorder/border')}`,
|
||||
padding: '4px 16px',
|
||||
overflow: 'hidden',
|
||||
backgroundColor: cssVarV2('layer/background/primary'),
|
||||
borderRadius: '12px',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user