美化了样式
This commit is contained in:
@ -64,9 +64,10 @@ button {
|
||||
}
|
||||
.text_2 {
|
||||
color: #808080;
|
||||
line-height: 17.08rpx;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.section_2 {
|
||||
width: 230rpx;
|
||||
padding: 7.5rpx 13.13rpx 5.63rpx 14.03rpx;
|
||||
background-color: #fff6de;
|
||||
border-radius: 31.26rpx;
|
||||
@ -136,7 +137,7 @@ button {
|
||||
width: 224.59rpx;
|
||||
}
|
||||
.list {
|
||||
padding-top: 39.38rpx;
|
||||
padding-top: 19.38rpx;
|
||||
}
|
||||
.section_4 {
|
||||
padding: 31.88rpx 31.88rpx 30rpx 33.75rpx;
|
||||
@ -157,4 +158,11 @@ button {
|
||||
}
|
||||
.text_8 {
|
||||
line-height: 23.81rpx;
|
||||
}
|
||||
.nickname-wrap {
|
||||
display: block; /* 让它单独占一行 */
|
||||
max-width: 250rpx; /* 不超过容器宽度 */
|
||||
white-space: normal; /* 允许正常换行 */
|
||||
word-break: break-all; /* 长字符串也能断行 */
|
||||
line-height: 1.4;
|
||||
}
|
Reference in New Issue
Block a user