Commit b2b47581b3bf5856cbc204ee1287877ce1548e47
1 parent
f2a0c110
git
Showing
2 changed files
with
9 additions
and
3 deletions
Show diff stats
frontend/web/css/style.css
@@ -2756,9 +2756,9 @@ input[type=file]::-webkit-file-upload-button { | @@ -2756,9 +2756,9 @@ input[type=file]::-webkit-file-upload-button { | ||
2756 | margin-top: 27px; | 2756 | margin-top: 27px; |
2757 | } | 2757 | } |
2758 | 2758 | ||
2759 | -.blog-post-wr:first-child { | ||
2760 | - margin-top: -1px | ||
2761 | -} | 2759 | +/*.blog-post-wr:first-child {*/ |
2760 | + /*margin-top: -1px*/ | ||
2761 | +/*}*/ | ||
2762 | 2762 | ||
2763 | .blog-post-title p { | 2763 | .blog-post-title p { |
2764 | font-size: 18px; | 2764 | font-size: 18px; |
frontend/web/js/script.js
@@ -1082,6 +1082,12 @@ $(document).ready( | @@ -1082,6 +1082,12 @@ $(document).ready( | ||
1082 | var radiusLenght = (newRadius.length)-1 | 1082 | var radiusLenght = (newRadius.length)-1 |
1083 | $(newRadius[radiusLenght]).addClass('_fix_radius_') | 1083 | $(newRadius[radiusLenght]).addClass('_fix_radius_') |
1084 | } | 1084 | } |
1085 | + | ||
1086 | + fixBlog() | ||
1087 | + function fixBlog() { | ||
1088 | + var firstPost = $('.blog-post-wr'); | ||
1089 | + $(firstPost[0]).css({marginTop:-1}) | ||
1090 | + } | ||
1085 | 1091 | ||
1086 | } | 1092 | } |
1087 | ); | 1093 | ); |
1088 | \ No newline at end of file | 1094 | \ No newline at end of file |