A platform for community discussion. Free, open, simple.
UX: Prevent long names from overflowing on user profiles
Kris9f6af5f8a762
diff --git a/app/assets/stylesheets/desktop/user.scss b/app/assets/stylesheets/desktop/user.scssindex dcc27fcea38..cdb584347a1 100644--- a/app/assets/stylesheets/desktop/user.scss+++ b/app/assets/stylesheets/desktop/user.scss@@ -122,6 +122,12 @@a[href] {text-decoration: underline;}+ h1 {+ max-width: 100%;+ white-space: nowrap;+ overflow: hidden;+ text-overflow: ellipsis;+ }.location-and-website {display: flex;max-width: 100%;diff --git a/app/assets/stylesheets/mobile/user.scss b/app/assets/stylesheets/mobile/user.scssindex 0b00b492f71..d7c1935b050 100644--- a/app/assets/stylesheets/mobile/user.scss+++ b/app/assets/stylesheets/mobile/user.scss@@ -119,6 +119,7 @@flex: 1 1 100%;word-break: break-word;margin: 0;+ max-width: 100%;}.bio {