mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 13:38:49 +08:00
Merge pull request #595 from toeverything/fix-css
fix: css in edgeless toolbar
This commit is contained in:
@@ -129,7 +129,7 @@ export const EdgelessToolbar = () => {
|
|||||||
mountOnEnter
|
mountOnEnter
|
||||||
unmountOnExit
|
unmountOnExit
|
||||||
>
|
>
|
||||||
<StyledEdgelessToolbar>
|
<StyledEdgelessToolbar aria-label="edgeless-toolbar">
|
||||||
<StyledToolbarWrapper>
|
<StyledToolbarWrapper>
|
||||||
{toolbarList1.map(
|
{toolbarList1.map(
|
||||||
({ icon, toolTip, flavor, disable, callback }, index) => {
|
({ icon, toolTip, flavor, disable, callback }, index) => {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const StyledEdgelessToolbar = styled.div(({ theme }) => ({
|
|||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
zIndex: theme.zIndex.modal,
|
zIndex: theme.zIndex.modal - 1,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const StyledToolbarWrapper = styled.div(({ theme }) => ({
|
export const StyledToolbarWrapper = styled.div(({ theme }) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user