mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 08:12:58 +03:00
feat: icon not align center in filter button (#3938)
This commit is contained in:
parent
a79284b65e
commit
61ac597cba
@ -63,9 +63,7 @@ export const Condition = ({
|
||||
<div className={styles.filterTypeIconStyle}>
|
||||
{variableDefineMap[ast.left.name].icon}
|
||||
</div>
|
||||
<div>
|
||||
<FilterTag name={ast.left.name} />
|
||||
</div>
|
||||
<FilterTag name={ast.left.name} />
|
||||
</div>
|
||||
</Menu>
|
||||
<Menu
|
||||
|
@ -53,6 +53,8 @@ export const switchStyle = style({
|
||||
color: 'var(--affine-text-secondary-color)',
|
||||
padding: '2px 4px',
|
||||
transition: 'all 0.15s ease-in-out',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
':hover': {
|
||||
cursor: 'pointer',
|
||||
background: 'var(--affine-hover-color)',
|
||||
@ -62,6 +64,7 @@ export const switchStyle = style({
|
||||
export const filterTypeStyle = style({
|
||||
fontSize: 'var(--affine-font-sm)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
padding: '2px 4px',
|
||||
transition: 'all 0.15s ease-in-out',
|
||||
marginRight: '6px',
|
||||
@ -76,5 +79,6 @@ export const filterTypeIconStyle = style({
|
||||
marginRight: '6px',
|
||||
padding: '1px 0',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
color: 'var(--affine-icon-color)',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user