]> cat aescling's git repositories - mastodon.git/commitdiff
Fix #79 - break too long lines and hide overflowing characters in status content
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 6 Oct 2016 19:56:07 +0000 (21:56 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 6 Oct 2016 19:56:07 +0000 (21:56 +0200)
app/assets/stylesheets/components.scss
app/assets/stylesheets/stream_entries.scss

index 155517362c7f326bd8ea4e2769254f1f2b55d570..114d380b83b7e17d189297249b63cc2b5f85a169 100644 (file)
@@ -71,6 +71,7 @@
   line-height: 20px;
   word-wrap: break-word;
   font-weight: 300;
+  overflow: hidden;
 
   p {
     margin-bottom: 20px;
index 27eb21361867584be3f9643b4ef1606c6f77d8c2..910fdf6351c6e6e5b7372d5f11d529caadacb674 100644 (file)
   }
 
   .entry__container {
-    display: flex;
+    overflow: hidden;
   }
 
   .avatar {
     width: 56px;
     padding: 15px;
+    float: left;
 
     img {
       width: 56px;
@@ -98,7 +99,7 @@
   }
 
   .entry__container__container {
-    flex-grow: 1;
+    margin-left: 86px;
   }
 
   .header {
 
   .content {
     font-size: 14px;
-    padding: 0 10px;
+    padding: 0 15px;
     padding-left: 8px;
     padding-bottom: 15px;
     color: #282c37;
+    word-wrap: break-word;
+    overflow: hidden;
 
     p {
       margin-bottom: 18px;