Skip to content

Commit

Permalink
trigger images to load blog2 and, adjust margin (publiclab#8790)
Browse files Browse the repository at this point in the history
This commit fix the issue publiclab#8768
  • Loading branch information
xEt3 authored and billymoroney1 committed Dec 28, 2021
1 parent 697692e commit c888946
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/tag/blog2.html.erb
Expand Up @@ -126,7 +126,10 @@
</div>
<style>
.blog-main {
margin-right: 4em;
margin-right: 4em;
}
.blog-main a.img {
margin-bottom: 10px;
}
p a {
color: #696969;
Expand All @@ -145,6 +148,7 @@
</style>
<script>
$(document).ready(function() {
$("img").lazyload();
var showChar = 300; // How many characters are shown by default
var moretext = "Read more";
var lesstext = "Read less";
Expand Down

0 comments on commit c888946

Please sign in to comment.