summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrei E <andreien@proton.me>2022-08-28 13:26:30 +0100
committerAndrei E <andreien@proton.me>2022-08-28 13:26:30 +0100
commit508a5761a1ce154d6d51c51a647403ea480ae46a (patch)
treeb5d348d0b6481beccd5b361dda07977739511613 /src
parenta7d9df551675169014a3a9481f9a3871f055d9db (diff)
downloadinvidious-508a5761a1ce154d6d51c51a647403ea480ae46a.tar.gz
invidious-508a5761a1ce154d6d51c51a647403ea480ae46a.tar.bz2
invidious-508a5761a1ce154d6d51c51a647403ea480ae46a.zip
Handle long usernames gracefully
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/template.ecr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr
index caf5299f..98f72eba 100644
--- a/src/invidious/views/template.ecr
+++ b/src/invidious/views/template.ecr
@@ -67,7 +67,7 @@
</a>
</div>
<% if env.get("preferences").as(Preferences).show_nick %>
- <div class="pure-u-1-4">
+ <div class="pure-u-1-4" style="overflow: hidden; white-space: nowrap;">
<span id="user_name"><%= HTML.escape(env.get("user").as(Invidious::User).email) %></span>
</div>
<% end %>