Difference between revisions of "Team:Cambridge-JIC/Notebook"
Line 77: | Line 77: | ||
if($(window).width() <= 700) { | if($(window).width() <= 700) { | ||
− | $(".cam-container section div div div div div").css("margin-top", "-30px") | + | $(".cam-container section div div div div div").each(function(){ |
+ | if($(this).css("margin-top") == -40) | ||
+ | $(this).css("margin-top", "-30px") | ||
+ | }); | ||
} | } | ||
Revision as of 11:27, 29 July 2015