diff --git a/assets/scss/learn.scss b/assets/scss/learn.scss index 964aa1312..61dd52a7e 100644 --- a/assets/scss/learn.scss +++ b/assets/scss/learn.scss @@ -151,7 +151,7 @@ h2 { display: inline-block; box-sizing: border-box; white-space: normal; - width: 323px; + min-width: 323px; min-height: 237px; padding: 30px 20px 30px 62px; margin-left: 70px; diff --git a/layouts/learn/list.html b/layouts/learn/list.html index d4c3423c6..2eebfdc1d 100644 --- a/layouts/learn/list.html +++ b/layouts/learn/list.html @@ -195,7 +195,6 @@ var topActive = function() { var topHeight = $('.section-2').outerHeight() top.find('a').each(function() { var id = $(this).attr('href') - console.log(id) var h = $(id) var elementToTop = getElementTopToScreenTop(h) if (elementToTop < headerHeight + topHeight + 10) {