fix: 修复餐饮按钮在微信端的布局溢出
This commit is contained in:
1 parent
32e2112caf
commit
b3e37827cf
1 file changed
+11
-2
@@ -128,8 +128,8 @@
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
.food-home .actions button {
|
.food-home .actions button {
|
||||||
flex: 1 1 0;
|
flex: 0 0 calc(50% - 7px);
|
||||||
width: 0;
|
width: calc(50% - 7px);
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
@@ -421,6 +421,8 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
.food-service .process-foot {
|
.food-service .process-foot {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
@@ -438,6 +440,13 @@
|
|||||||
color: #d0cbc4;
|
color: #d0cbc4;
|
||||||
}
|
}
|
||||||
.food-service .process-foot button {
|
.food-service .process-foot button {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
max-width: 42%;
|
||||||
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-sizing: border-box;
|
||||||
height: 62px;
|
height: 62px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 22px;
|
padding: 0 22px;
|
||||||
|
|||||||
Reference in new issue
Block a user