Merge pull request #595 from toeverything/fix-css

fix: css in edgeless toolbar
This commit is contained in:
Chi Zhang
2022-12-28 14:29:17 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -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 }) => ({