style(css): 优化.award .name元素的尺寸样式
调整.name元素的高度和宽度属性,使用max-height和max-width替代固定高度,并添加width: 100%和height: 100%使其更灵活适应不同尺寸
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -101,9 +101,11 @@
|
||||
}
|
||||
|
||||
.name {
|
||||
// width: min-content;
|
||||
height: 65px;
|
||||
max-height: 65px;
|
||||
max-width: 340px;
|
||||
margin-bottom: 30px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.explain {
|
||||
|
||||
Reference in New Issue
Block a user