mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-10 13:56:35 +03:00
chore: update all page style (#2638)
This commit is contained in:
parent
fc9462eee9
commit
88757ce488
@ -29,11 +29,21 @@ export const TitleCell = React.forwardRef<HTMLTableCellElement, TitleCellProps>(
|
||||
<StyledTitleLink>
|
||||
{icon}
|
||||
<StyledTitleContentWrapper>
|
||||
<Content ellipsis={true} maxWidth="100%" color="inherit">
|
||||
<Content
|
||||
ellipsis={true}
|
||||
maxWidth="100%"
|
||||
color="inherit"
|
||||
fontSize="var(--affine-font-sm)"
|
||||
weight="600"
|
||||
lineHeight="18px"
|
||||
>
|
||||
{text}
|
||||
</Content>
|
||||
{desc && (
|
||||
<StyledTitlePreview ellipsis={true} color="inherit">
|
||||
<StyledTitlePreview
|
||||
ellipsis={true}
|
||||
color="var(--affine-text-secondary-color)"
|
||||
>
|
||||
{desc}
|
||||
</StyledTitlePreview>
|
||||
)}
|
||||
|
@ -5,12 +5,13 @@ export const filterButton = style({
|
||||
height: '100%',
|
||||
padding: '4px 8px',
|
||||
fontSize: 'var(--affine-font-xs)',
|
||||
background: 'var(--affine-hover-color)',
|
||||
background: 'var(--affine-white)',
|
||||
color: 'var(--affine-text-secondary-color)',
|
||||
border: '1px solid var(--affine-border-color)',
|
||||
transition: 'margin-left 0.2s ease-in-out',
|
||||
':hover': {
|
||||
borderColor: 'var(--affine-border-color)',
|
||||
background: 'var(--affine-hover-color)',
|
||||
},
|
||||
});
|
||||
export const filterButtonCollapse = style({
|
||||
|
Loading…
Reference in New Issue
Block a user