This commit is contained in:
lyp 2025-09-03 18:01:59 +08:00
parent 2a9a3aadaa
commit a29b8fdfb9
2 changed files with 34 additions and 9 deletions

View File

@ -3156,6 +3156,7 @@ export default function Head() {
<div
className='scrollbar-hide'
style={{
width: '1000px',
height: '700px',
@ -3166,6 +3167,7 @@ export default function Head() {
// backgroundSize: '100% 400px',
backgroundRepeat: 'no-repeat',
position: 'relative',
}}>
<div style={{
position: 'sticky',
@ -3762,6 +3764,7 @@ export default function Head() {
height: '100vh',
}}>
<div
className='scrollbar-hide'
style={{
width: '1000px',
height: '700px',

View File

@ -647,6 +647,7 @@
padding: 15px;
box-sizing: border-box;
}
/* .aiUseMatrixSmallBoxItemTop{
background-color: pink;
height: 200px;
@ -655,12 +656,15 @@
/* background-color: skyblue; */
width: 100%;
overflow: hidden;
font-size: 18px;
max-height: 48px;
display: -webkit-box; /* 弹性盒子模型 */
-webkit-line-clamp: 2; /* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical; /* 垂直排列 */
display: -webkit-box;
/* 弹性盒子模型 */
-webkit-line-clamp: 2;
/* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical;
/* 垂直排列 */
/* font-weight: 700; */
}
@ -678,17 +682,35 @@
}
.aiUseMatrixSmallBoxItemContent {
font-size: 14px;
color: #727A85;
margin-top: 10px;
height: 160px; /* 固定高度 */
overflow: hidden; /* 隐藏超出部分 */
height: 160px;
/* 固定高度 */
overflow: hidden;
/* 隐藏超出部分 */
/* background-color: skyblue; */
/* 新增多行文本溢出省略设置 */
display: -webkit-box; /* 弹性盒子模型 */
-webkit-line-clamp: 8; /* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical; /* 垂直排列 */
display: -webkit-box;
/* 弹性盒子模型 */
-webkit-line-clamp: 8;
/* 最多显示10行根据字体大小和高度调整 */
-webkit-box-orient: vertical;
/* 垂直排列 */
}
.scrollbar-hide {
/* 火狐浏览器 */
scrollbar-width: none;
/* IE 和 Edge 旧版本 */
-ms-overflow-style: none;
}
/* WebKit 内核浏览器 (Chrome, Safari, Edge 等) */
.scrollbar-hide::-webkit-scrollbar {
display: none;
}