mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: title not align center in head (#1513)
This commit is contained in:
@@ -18,7 +18,7 @@ export const StyledHeader = styled('div')<{ hasWarning: boolean }>(
|
|||||||
height: '64px',
|
height: '64px',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
padding: '0 28px',
|
padding: '0 28px',
|
||||||
...displayFlex('flex-end', 'center'),
|
...displayFlex('space-between', 'center'),
|
||||||
background: theme.colors.pageBackground,
|
background: theme.colors.pageBackground,
|
||||||
transition: 'background-color 0.5s',
|
transition: 'background-color 0.5s',
|
||||||
zIndex: 99,
|
zIndex: 99,
|
||||||
@@ -120,6 +120,7 @@ export const StyledPageListTittleWrapper = styled(StyledTitle)(({ theme }) => {
|
|||||||
return {
|
return {
|
||||||
fontSize: theme.font.base,
|
fontSize: theme.font.base,
|
||||||
color: theme.colors.textColor,
|
color: theme.colors.textColor,
|
||||||
|
...displayFlex('center', 'center'),
|
||||||
'>svg': {
|
'>svg': {
|
||||||
fontSize: '20px',
|
fontSize: '20px',
|
||||||
marginRight: '12px',
|
marginRight: '12px',
|
||||||
|
|||||||
Reference in New Issue
Block a user