Browse Source

Figured out CSS flex thingys so it scrolls the right way again

Douglas Thrift 6 years ago
parent
commit
16621a4bac
1 changed files with 5 additions and 0 deletions
  1. 5 0
      views/layout.erb

+ 5 - 0
views/layout.erb

@@ -26,9 +26,14 @@
             width: 100%;
         }
         #photos {
+            flex-wrap: wrap;
             height: 66vh;
             overflow-y: auto;
         }
+        #photos .photo {
+            flex-grow: 0;
+            padding-bottom: 2rem;
+        }
         /* work around the '*+* { margin-top: 1.5rem; }' rule from Concise CSS that interferes with CC Icons */
         i.cc {
             margin-top: 0px;