Skip to content

Commit cf92222

Browse files
fix: Profile CSS Fix
1 parent 7f8b8c9 commit cf92222

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

frontend/src/App.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,4 +360,11 @@
360360
height: calc(100vh - 58px);
361361
min-height: 200px;
362362
display: flex
363+
}
364+
.profile-container{
365+
display:flex;
366+
gap:4px;
367+
align-items:center;
368+
border: 1px solid rgb(var(--theme-palette-neutral-border-strong));
369+
border-radius: 12px;
363370
}

frontend/src/components/User/Profile.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ export default function Profile() {
3030
}
3131
if (isAuthenticated) {
3232
return (
33-
<div
34-
className='hidden
35-
md:flex md:p-1.5 md:gap-2 md:h-12 md:items-center md:inline-block
36-
md:border md:border-[rgb(var(--theme-palette-neutral-border-strong))] md:rounded-xl'
37-
>
33+
<div className=' p-1.5 h-12 profile-container'>
3834
<>
3935
<Avatar
4036
className='md:flex hidden'

frontend/src/index.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
@config '../tailwind.config.js';
44

5-
/*
6-
The default border color has changed to `currentColor` in Tailwind CSS v4,
7-
so we've added these compatibility styles to make sure everything still
8-
looks the same as it did with Tailwind CSS v3.
9-
10-
If we ever want to remove these styles, we need to add an explicit border
11-
color utility to any element that depends on these defaults.
12-
*/
135
@layer base {
146
*,
157
::after,

0 commit comments

Comments
 (0)