Created
October 12, 2016 15:51
-
-
Save jerewall/d36d28586b69ac2b115835744fd1dc05 to your computer and use it in GitHub Desktop.
make the text area all the same size on cta to push down learn more button to be lined up equally.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).on('load resize', function () { | |
if ($(window).width() > 780) { | |
var tallest = 0; | |
$(".webcom-cta .widget-textarea").each(function(){ | |
if($(this).outerHeight() > tallest) tallest = $(this).outerHeight(); | |
}).css('height', tallest); | |
} | |
}).resize(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment