mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(whiteboard): select text in whiteboard
This commit is contained in:
@@ -21,9 +21,7 @@ export const ZoomBar: FC = () => {
|
||||
const zoom = app.useStore(zoomSelector);
|
||||
|
||||
return (
|
||||
<div
|
||||
style={{ position: 'absolute', right: 10, bottom: 10, zIndex: 200 }}
|
||||
>
|
||||
<ZoomBarContainer>
|
||||
<MiniMapContainer>
|
||||
<MiniMap />
|
||||
</MiniMapContainer>
|
||||
@@ -52,10 +50,18 @@ export const ZoomBar: FC = () => {
|
||||
<UnfoldMoreIcon style={{ transform: 'rotateZ(90deg)' }} />
|
||||
</IconButton>
|
||||
</div>
|
||||
</div>
|
||||
</ZoomBarContainer>
|
||||
);
|
||||
};
|
||||
|
||||
const ZoomBarContainer = styled('div')({
|
||||
position: 'absolute',
|
||||
right: 10,
|
||||
bottom: 10,
|
||||
zIndex: 200,
|
||||
userSelect: 'none',
|
||||
});
|
||||
|
||||
const MiniMapContainer = styled('div')({
|
||||
display: 'flex',
|
||||
justifyContent: 'flex-end',
|
||||
|
||||
Reference in New Issue
Block a user