From 4053b31b2f636cb5d2a6eff0abaa4e1b682f6412 Mon Sep 17 00:00:00 2001 From: AkisYTB3 Date: Sat, 3 Feb 2024 13:55:29 +0100 Subject: [PATCH] Changed border radius to 100% instead of 5000px to make animation work and changed width and height of pfp img to inherit pfp a and nade pfp a have 150px w & h --- styles/pages/user/profile.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/styles/pages/user/profile.css b/styles/pages/user/profile.css index a1ca02c..e5f0e7a 100644 --- a/styles/pages/user/profile.css +++ b/styles/pages/user/profile.css @@ -1,6 +1,7 @@ .big-pfp { margin: 0; - width: fit-content; + width: 150px; + height: 150px; overflow: hidden; transition-duration: 0.3s; } @@ -11,7 +12,8 @@ } .big-pfp img { - width: 150px; - border-radius: 5000px; + width: inherit; + height: inherit; + border-radius: 100%; transition-duration: 0.3s; } \ No newline at end of file