mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: repair grid border in selection (#206)
This commit is contained in:
@@ -261,7 +261,7 @@ const GridContainer = styled('div')<{
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'stretch',
|
alignItems: 'stretch',
|
||||||
borderRadius: '10px',
|
borderRadius: '10px',
|
||||||
border: '1px solid #FFF',
|
border: '1px solid transparent',
|
||||||
minWidth: `${gridItemMinWidth}%`,
|
minWidth: `${gridItemMinWidth}%`,
|
||||||
[`&:hover .${GRID_ITEM_CONTENT_CLASS_NAME}`]: {
|
[`&:hover .${GRID_ITEM_CONTENT_CLASS_NAME}`]: {
|
||||||
borderColor: theme.affine.palette.borderColor,
|
borderColor: theme.affine.palette.borderColor,
|
||||||
|
|||||||
@@ -77,9 +77,6 @@ export class SelectionManager implements VirgoSelection {
|
|||||||
type: 'None',
|
type: 'None',
|
||||||
info: null,
|
info: null,
|
||||||
};
|
};
|
||||||
// IMP: to delete
|
|
||||||
// @ts-ignore
|
|
||||||
window['selectionManager'] = this;
|
|
||||||
this._initWindowSelectionChangeListen();
|
this._initWindowSelectionChangeListen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user