From 86742c1307f805864fcd68d3aba565369d3ee4ce Mon Sep 17 00:00:00 2001 From: pengx17 Date: Thu, 8 May 2025 08:58:28 +0000 Subject: [PATCH] fix(core): public user avatar label mis-alignment (#12057) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/09d6b833-2285-405b-b3ef-ec67dbdad147.png) ## Summary by CodeRabbit - **Style** - Improved vertical alignment and positioning of elements in the public user label component for a more polished appearance. --- .../frontend/core/src/modules/cloud/views/public-user.css.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/cloud/views/public-user.css.ts b/packages/frontend/core/src/modules/cloud/views/public-user.css.ts index 634822ba14..aab215e6b7 100644 --- a/packages/frontend/core/src/modules/cloud/views/public-user.css.ts +++ b/packages/frontend/core/src/modules/cloud/views/public-user.css.ts @@ -3,7 +3,7 @@ import { style } from '@vanilla-extract/css'; export const publicUserLabel = style({ fontSize: 'inherit', display: 'inline-flex', - alignItems: 'center', + alignItems: 'baseline', }); export const publicUserLabelLoading = style([ @@ -23,4 +23,5 @@ export const publicUserLabelRemoved = style([ export const publicUserLabelAvatar = style({ marginRight: '0.5em', + transform: 'translateY(4px)', });