style(mini-program): 优化核心参数选项按钮样式
- 减小 padding 从 12rpx 20rpx → 8rpx 12rpx,按钮更紧凑 - 添加 text-align: center,文字居中显示 - 移除 white-space: nowrap,允许内容换行
This commit is contained in:
@@ -616,13 +616,13 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.param-option {
|
.param-option {
|
||||||
padding: 12rpx 20rpx;
|
padding: 8rpx 12rpx;
|
||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.05);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: rgba(255, 255, 255, 0.4);
|
color: rgba(255, 255, 255, 0.4);
|
||||||
white-space: nowrap;
|
text-align: center;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user