Skip to content

Commit bbb3a35

Browse files
committed
PEER-234: Add avatar styling
Signed-off-by: SeeuSim <[email protected]>
1 parent 526e42e commit bbb3a35

File tree

1 file changed

+2
-2
lines changed
  • frontend/src/components/blocks/interview

1 file changed

+2
-2
lines changed

frontend/src/components/blocks/interview/editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ export const Editor = ({ room }: EditorProps) => {
7171
{/* TODO: Get user avatar and display */}
7272
{members.map((member, index) => (
7373
<div
74-
className='grid size-8 place-items-center text-clip rounded-full border p-1 text-xs'
74+
className='grid size-8 place-items-center !overflow-clip rounded-full border p-1 text-xs'
7575
style={{
7676
borderColor: member.color,
7777
}}
7878
key={index}
7979
>
80-
<span>{member.name}</span>
80+
<span className='translate-x-[calc(-50%+12px)]'>{member.name}</span>
8181
</div>
8282
))}
8383
</div>

0 commit comments

Comments
 (0)