Skip to content

Instantly share code, notes, and snippets.

@jerewall
Created October 12, 2016 15:51
Show Gist options
  • Save jerewall/d36d28586b69ac2b115835744fd1dc05 to your computer and use it in GitHub Desktop.
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.
$(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