fix: width of new page button (#2258)
This commit is contained in:
@@ -39,13 +39,14 @@ export const StyledLink = styled(Link)(() => {
|
|||||||
});
|
});
|
||||||
export const StyledNewPageButton = styled('button')(() => {
|
export const StyledNewPageButton = styled('button')(() => {
|
||||||
return {
|
return {
|
||||||
|
width: '100%',
|
||||||
height: '52px',
|
height: '52px',
|
||||||
...displayFlex('flex-start', 'center'),
|
...displayFlex('flex-start', 'center'),
|
||||||
padding: '0 8px 0 16px',
|
padding: '0 16px',
|
||||||
svg: {
|
svg: {
|
||||||
fontSize: '20px',
|
fontSize: '20px',
|
||||||
color: 'var(--affine-icon-color)',
|
color: 'var(--affine-icon-color)',
|
||||||
marginRight: '8px',
|
marginRight: '12px',
|
||||||
},
|
},
|
||||||
':hover': {
|
':hover': {
|
||||||
color: 'var(--affine-primary-color)',
|
color: 'var(--affine-primary-color)',
|
||||||
|
|||||||
Reference in New Issue
Block a user