diff --git a/scripts/FeedController.js b/scripts/FeedController.js index 75b3774..894930c 100644 --- a/scripts/FeedController.js +++ b/scripts/FeedController.js @@ -16,7 +16,6 @@ angular.module('flashy.FeedController', ['ui.router']). /* Handles number of columns */ function calculate_cols() { var avail = $window.innerWidth - 17; - if (avail > 992) avail -= 240; return Math.floor(avail / 250); } diff --git a/styles/flashy.css b/styles/flashy.css index 9afc3f7..ae59f0c 100644 --- a/styles/flashy.css +++ b/styles/flashy.css @@ -299,4 +299,8 @@ md-content.md-default-theme { [ng-cloak] { display: none !important; -} \ No newline at end of file +} + +.cardColumn { + float: left; +} diff --git a/templates/feed.html b/templates/feed.html index 557bacf..aec192f 100644 --- a/templates/feed.html +++ b/templates/feed.html @@ -4,10 +4,16 @@