From a942add87a0eeb50816f48edc44291e7e123c9c9 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Mon, 8 May 2023 14:06:00 +0800 Subject: [PATCH] fix: width of new page button (#2258) --- apps/web/src/components/pure/workspace-slider-bar/style.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/pure/workspace-slider-bar/style.ts b/apps/web/src/components/pure/workspace-slider-bar/style.ts index 4c3de9d70..64ef0be0d 100644 --- a/apps/web/src/components/pure/workspace-slider-bar/style.ts +++ b/apps/web/src/components/pure/workspace-slider-bar/style.ts @@ -39,13 +39,14 @@ export const StyledLink = styled(Link)(() => { }); export const StyledNewPageButton = styled('button')(() => { return { + width: '100%', height: '52px', ...displayFlex('flex-start', 'center'), - padding: '0 8px 0 16px', + padding: '0 16px', svg: { fontSize: '20px', color: 'var(--affine-icon-color)', - marginRight: '8px', + marginRight: '12px', }, ':hover': { color: 'var(--affine-primary-color)',