mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
fix: Teacher cards
Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
parent
fd45166e01
commit
28a2efe741
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue