Skip to content

Commit

Permalink
fix: width of new page button
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed May 8, 2023
1 parent c55bfcc commit d233c4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/web/src/components/pure/workspace-slider-bar/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down

0 comments on commit d233c4c

Please sign in to comment.