fix: 移除图片悬停动画并调整容器高度
移除图片的悬停缩放动画效果以提升性能 将容器高度从100vh改为100%并添加最小高度限制
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
}
|
||||
.container .container-box {
|
||||
padding-top: 24px;
|
||||
height: 100vh;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -53,13 +53,14 @@
|
||||
position: relative;
|
||||
width: 1200px;
|
||||
height: 280px;
|
||||
min-height: 280px;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.container .container-box .header::after {
|
||||
content: "";
|
||||
width: 1200px;
|
||||
height: 280px;
|
||||
height: 100%;
|
||||
background: linear-gradient(180deg, #7d4bf8 0%, #5241b0 100%);
|
||||
border-radius: 20px;
|
||||
position: absolute;
|
||||
@@ -227,6 +228,7 @@
|
||||
padding: 3px;
|
||||
overflow: hidden;
|
||||
height: var(--base-height);
|
||||
min-height: var(--base-height);
|
||||
}
|
||||
.container .container-box .details::after {
|
||||
content: "";
|
||||
|
||||
Reference in New Issue
Block a user