style(css): 优化.award .name元素的尺寸样式

调整.name元素的高度和宽度属性,使用max-height和max-width替代固定高度,并添加width: 100%和height: 100%使其更灵活适应不同尺寸
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-12-08 11:21:13 +08:00
parent f1aa3a5d4a
commit c057fb2f1d
2 changed files with 8 additions and 3 deletions

View File

@@ -89,8 +89,11 @@
margin-bottom: 25px;
}
.content .introduce .box .info .award .name {
height: 65px;
max-height: 65px;
max-width: 340px;
margin-bottom: 30px;
width: 100%;
height: 100%;
}
.content .introduce .box .info .award .explain {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;

View File

@@ -101,9 +101,11 @@
}
.name {
// width: min-content;
height: 65px;
max-height: 65px;
max-width: 340px;
margin-bottom: 30px;
width: 100%;
height: 100%;
}
.explain {