Spaces:
Running
Running
Mhamdans17 commited on
Commit ·
6b4530e
1
Parent(s): 4353d72
fix: pos cart footer cut off on mobile
Browse files- src/index.css +4 -3
src/index.css
CHANGED
|
@@ -73,13 +73,14 @@ h1, h2, h3, .font-headline { font-family: var(--font-headline); }
|
|
| 73 |
|
| 74 |
@media (max-width: 768px) {
|
| 75 |
/* POS: Full-width tabs mode */
|
| 76 |
-
.pos-layout { flex-direction: column !important; height:
|
| 77 |
-
.pos-product-panel { flex:
|
| 78 |
.pos-cart-panel {
|
|
|
|
|
|
|
| 79 |
width: 100% !important;
|
| 80 |
border-left: none !important;
|
| 81 |
border-top: 1px solid rgba(8,45,67,0.08) !important;
|
| 82 |
-
height: 40vh;
|
| 83 |
}
|
| 84 |
|
| 85 |
/* Admin content */
|
|
|
|
| 73 |
|
| 74 |
@media (max-width: 768px) {
|
| 75 |
/* POS: Full-width tabs mode */
|
| 76 |
+
.pos-layout { flex-direction: column !important; height: calc(100vh - 73px) !important; min-height: calc(100vh - 73px); overflow: hidden !important; }
|
| 77 |
+
.pos-product-panel { flex: 55 !important; height: auto !important; }
|
| 78 |
.pos-cart-panel {
|
| 79 |
+
flex: 45 !important;
|
| 80 |
+
height: auto !important;
|
| 81 |
width: 100% !important;
|
| 82 |
border-left: none !important;
|
| 83 |
border-top: 1px solid rgba(8,45,67,0.08) !important;
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
/* Admin content */
|