fix: Teacher cards

Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
TheYoungManLi 2021-12-16 18:43:02 +08:00
parent fd45166e01
commit 28a2efe741
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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) {