fix: css in edgeless toolbar

This commit is contained in:
himself65
2022-12-28 14:06:15 +08:00
parent cd216f53a9
commit 1525e55661
2 changed files with 2 additions and 2 deletions
@@ -129,7 +129,7 @@ export const EdgelessToolbar = () => {
mountOnEnter
unmountOnExit
>
<StyledEdgelessToolbar>
<StyledEdgelessToolbar aria-label="edgeless-toolbar">
<StyledToolbarWrapper>
{toolbarList1.map(
({ icon, toolTip, flavor, disable, callback }, index) => {
@@ -7,7 +7,7 @@ export const StyledEdgelessToolbar = styled.div(({ theme }) => ({
top: 0,
bottom: 0,
margin: 'auto',
zIndex: theme.zIndex.modal,
zIndex: theme.zIndex.modal - 1,
}));
export const StyledToolbarWrapper = styled.div(({ theme }) => ({