修复不同尺寸屏幕文字显示会被省略的问题
This commit is contained in:
parent
3227c7bf8a
commit
33b08c8074
@ -966,13 +966,13 @@
|
||||
}
|
||||
|
||||
.menu_li {
|
||||
margin-right: 20rpx;
|
||||
// margin-right: 20rpx;
|
||||
// background-color: red;
|
||||
// width: 50vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 16vw;
|
||||
min-width: 140rpx;
|
||||
height: auto;
|
||||
|
||||
// width: 120rpx;
|
||||
@ -988,7 +988,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1002,7 +1002,7 @@
|
||||
background-color: #ff6d20;
|
||||
border-radius: 2em;
|
||||
color: #fff;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -968,13 +968,13 @@
|
||||
}
|
||||
|
||||
.menu_li {
|
||||
margin-right: 20rpx;
|
||||
// margin-right: 20rpx;
|
||||
// background-color: red;
|
||||
// width: 50vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 16vw;
|
||||
min-width: 140rpx;
|
||||
height: auto;
|
||||
|
||||
// width: 120rpx;
|
||||
@ -990,7 +990,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1004,7 +1004,7 @@
|
||||
background-color: #ff6d20;
|
||||
border-radius: 2em;
|
||||
color: #fff;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -978,13 +978,13 @@
|
||||
height: 220rpx;
|
||||
|
||||
.menu_li {
|
||||
margin-right: 20rpx;
|
||||
// margin-right: 20rpx;
|
||||
// background-color: red;
|
||||
// width: 50vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 16vw;
|
||||
min-width: 140rpx;
|
||||
height: auto;
|
||||
// width: 120rpx;
|
||||
// display: inline-block;
|
||||
@ -992,12 +992,13 @@
|
||||
border: 5rpx solid #fff;
|
||||
}
|
||||
.li_text{
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
.menu_li_on{
|
||||
@ -1009,7 +1010,7 @@
|
||||
background-color: #ff6d20;
|
||||
border-radius: 2em;
|
||||
color: #fff;
|
||||
padding: 4rpx 10rpx;
|
||||
padding: 1rpx 10rpx 4rpx 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user