about summary refs log tree commit diff
path: root/app/assets/stylesheets/stream_entries.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-08 01:24:26 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-08 01:24:26 +0200
commit0f4bc567195d368de596cdeeee6bc0b6507ae95e (patch)
treeb6ef5fbeb1103203dae8237d8b26379664a397f3 /app/assets/stylesheets/stream_entries.scss
parent87576e1ab1a4c02f8847e8264e6a62abd36df793 (diff)
Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
Diffstat (limited to 'app/assets/stylesheets/stream_entries.scss')
-rw-r--r--app/assets/stylesheets/stream_entries.scss31
1 files changed, 30 insertions, 1 deletions
diff --git a/app/assets/stylesheets/stream_entries.scss b/app/assets/stylesheets/stream_entries.scss
index 93880237c..25a536e24 100644
--- a/app/assets/stylesheets/stream_entries.scss
+++ b/app/assets/stylesheets/stream_entries.scss
@@ -158,7 +158,7 @@
     font-size: 14px;
     padding: 0 10px;
     padding-left: 8px;
-    padding-bottom: 25px;
+    padding-bottom: 15px;
     color: #282c37;
 
     a {
@@ -189,4 +189,33 @@
       text-decoration: underline;
     }
   }
+
+  .media-attachments {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+    display: block;
+    overflow: hidden;
+    padding-left: 10px;
+
+    li {
+      display: block;
+      float: left;
+      width: 120px;
+      height: 100px;
+      border-radius: 4px;
+      margin-right: 4px;
+      margin-bottom: 25px;
+
+      a {
+        display: block;
+        width: 120px;
+        height: 100px;
+        border-radius: 4px;
+        background-position: center;
+        background-repeat: none;
+        background-size: cover;
+      }
+    }
+  }
 }