about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxime BORGES <maxime.borges@gmail.com>2017-04-01 20:17:28 +0200
committerMaxime BORGES <maxime.borges@gmail.com>2017-04-01 20:17:28 +0200
commitf693ab69f3596c689d9df9ea2e749dc614839a8e (patch)
tree9733cb8334e9a2738bc2353afafb5a006703d374
parent13dfd8d109442ffdd90dbd533a426b04b68e5119 (diff)
Fix word-break in profile's note on profile page and profile component
-rw-r--r--app/assets/stylesheets/accounts.scss1
-rw-r--r--app/assets/stylesheets/components.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss
index 7c48c91f3..25e24a95a 100644
--- a/app/assets/stylesheets/accounts.scss
+++ b/app/assets/stylesheets/accounts.scss
@@ -311,6 +311,7 @@
       padding: 10px;
       padding-top: 15px;
       color: $color3;
+      word-wrap: break-word;
     }
   }
 }
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index a4dce7f18..3db9ae852 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -424,6 +424,7 @@ a.status__content__spoiler-link {
 
 .account__header__content {
   word-wrap: break-word;
+  word-break: break-all;
   font-weight: 400;
   overflow: hidden;
   color: $color3;