Commit 747c4625 authored by Vitor Lopes's avatar Vitor Lopes

fix news grid not ajusting after images load

parent ebcc4c73
...@@ -105,10 +105,7 @@ body { ...@@ -105,10 +105,7 @@ body {
} }
} }
.wrapper { .landing-page .wrapper {
overflow-y: initial;
}
.landing-page .wrapper, .news .section {
overflow-y: hidden; overflow-y: hidden;
} }
...@@ -1017,7 +1014,7 @@ h1.title::first-letter { ...@@ -1017,7 +1014,7 @@ h1.title::first-letter {
} }
} }
} }
h4 { h4 {
margin-top: 60px; margin-top: 60px;
color: #cecccc !important; color: #cecccc !important;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<!-- prefetch resources --> <!-- prefetch resources -->
<link rel="prefetch" href="/js/isotope.pkgd.min.js" as="script" type="text/javascript"> <link rel="prefetch" href="/js/isotope.pkgd.min.js" as="script" type="text/javascript">
<link rel="prefetch" href="/js/imagesloaded.pkgd.min.js" as="script" type="text/javascript"> <link rel="prefetch" href="/js/imagesloaded.pkgd.min.js" as="script" type="text/javascript">
<link rel="prefetch" href="/js/feedreader.js?v=1.0.3" as="script" type="text/javascript"> <link rel="prefetch" href="/js/feedreader.js?{{ .Site.Params.website_version }}" as="script" type="text/javascript">
<link rel="prefetch" href="https://forum.manjaro.org/c/announcements.rss" as="fetch" type="text/plain" crossorigin> <link rel="prefetch" href="https://forum.manjaro.org/c/announcements.rss" as="fetch" type="text/plain" crossorigin>
<link rel="prefetch" href="https://forum.manjaro.org/c/announcements/manjaro32.rss" as="fetch" type="text/plain" crossorigin> <link rel="prefetch" href="https://forum.manjaro.org/c/announcements/manjaro32.rss" as="fetch" type="text/plain" crossorigin>
......
...@@ -16,7 +16,7 @@ DefaultContentLanguage = "en-us" ...@@ -16,7 +16,7 @@ DefaultContentLanguage = "en-us"
post = "/:year/:month/:day/:slug/" post = "/:year/:month/:day/:slug/"
[params] [params]
website_version = "1.1.15" website_version = "1.0.16"
background = "/img/header.jpg" background = "/img/header.jpg"
tint = "green" tint = "green"
custom_css = ["css/highlight.min.css"] custom_css = ["css/highlight.min.css"]
......
...@@ -203,6 +203,10 @@ function feedreader(url) { ...@@ -203,6 +203,10 @@ function feedreader(url) {
$('#' + el + ' .modal-body').find(".poll").remove(); $('#' + el + ' .modal-body').find(".poll").remove();
$('#' + el + ' .modal-body').find("p:contains('Posts:')").remove(); $('#' + el + ' .modal-body').find("p:contains('Posts:')").remove();
$('#' + el + ' .modal-body').find("p:contains('Participants:')").remove(); $('#' + el + ' .modal-body').find("p:contains('Participants:')").remove();
$("#news-grid #unique" + el).imagesLoaded( function(){
$("#news-grid").isotope("reloadItems").isotope({ sortBy: 'original-order' });
});
}}); }});
}}); }});
...@@ -210,10 +214,6 @@ function feedreader(url) { ...@@ -210,10 +214,6 @@ function feedreader(url) {
feedreader(feeds[0]); feedreader(feeds[0]);
feedreader(feeds[1]); feedreader(feeds[1]);
$("#news-grid").imagesLoaded( function(){
$("#news-grid").isotope("reloadItems").isotope({ sortBy: 'original-order' });
});
setTimeout(function(){ setTimeout(function(){
$(".progress-bar").css("width", "10%"); $(".progress-bar").css("width", "10%");
}, 550); }, 550);
...@@ -247,6 +247,5 @@ setTimeout(function(){ ...@@ -247,6 +247,5 @@ setTimeout(function(){
setTimeout(function(){ setTimeout(function(){
$(".logo-overlay-loader").fadeOut(); $(".logo-overlay-loader").fadeOut();
$("#news-grid").isotope("reloadItems").isotope({ sortBy: 'original-order' });
}, 3000); }, 3000);
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment