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;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
.content .introduce .box .info .award .name {
|
.content .introduce .box .info .award .name {
|
||||||
height: 65px;
|
max-height: 65px;
|
||||||
|
max-width: 340px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
.content .introduce .box .info .award .explain {
|
.content .introduce .box .info .award .explain {
|
||||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||||
|
|||||||
@@ -101,9 +101,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
// width: min-content;
|
max-height: 65px;
|
||||||
height: 65px;
|
max-width: 340px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explain {
|
.explain {
|
||||||
|
|||||||
Reference in New Issue
Block a user