Skip to content

Commit

Permalink
fix: masonry columnWidth made resonsive
Browse files Browse the repository at this point in the history
  • Loading branch information
ayanchoudhary committed Jan 4, 2020
1 parent 5240c1a commit 0412b7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/News.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
>
<div>
<div
id="feed"
class="mb-10 sm:w-feed"
v-if="
event_block.event.types == 'upcoming event' &&
Expand Down Expand Up @@ -129,7 +130,7 @@ export default {
var msnry = new Masonry(elem, {
// options
itemSelector: "#grid-item",
columnWidth: 700,
columnWidth: "#feed",
gutter: 24,
percentPosition: true
});
Expand Down

0 comments on commit 0412b7a

Please sign in to comment.