From cb1843a8e0a89a2c69726cd768c5202c29d9dea9 Mon Sep 17 00:00:00 2001 From: "luisa.bellitto" Date: Sun, 29 Jun 2025 15:15:48 +0200 Subject: [PATCH] add follow function and make small style changes --- code/frontend/src/components/username.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/code/frontend/src/components/username.css b/code/frontend/src/components/username.css index 39650ff..7be6bfb 100644 --- a/code/frontend/src/components/username.css +++ b/code/frontend/src/components/username.css @@ -1,10 +1,21 @@ .profile-username { color: var(--Rotkehlchen-orange-default); - max-width: 10rem; + width: 15rem; overflow: hidden; text-overflow: ellipsis; cursor: pointer; + text-align: start; } .profile-popover { padding: 1rem; } + +@media screen and (min-width: 768px) { + .profile-username { + width: 10rem; + } + .profile-popover { + padding: 2rem; + } + +}