mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(core): public user avatar label mis-alignment (#12057)
 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved vertical alignment and positioning of elements in the public user label component for a more polished appearance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -3,7 +3,7 @@ import { style } from '@vanilla-extract/css';
|
|||||||
export const publicUserLabel = style({
|
export const publicUserLabel = style({
|
||||||
fontSize: 'inherit',
|
fontSize: 'inherit',
|
||||||
display: 'inline-flex',
|
display: 'inline-flex',
|
||||||
alignItems: 'center',
|
alignItems: 'baseline',
|
||||||
});
|
});
|
||||||
|
|
||||||
export const publicUserLabelLoading = style([
|
export const publicUserLabelLoading = style([
|
||||||
@@ -23,4 +23,5 @@ export const publicUserLabelRemoved = style([
|
|||||||
|
|
||||||
export const publicUserLabelAvatar = style({
|
export const publicUserLabelAvatar = style({
|
||||||
marginRight: '0.5em',
|
marginRight: '0.5em',
|
||||||
|
transform: 'translateY(4px)',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user