From 1ac9fdd64117264233214996916f214068647d50 Mon Sep 17 00:00:00 2001 From: sovanna Date: Mon, 30 Dec 2019 11:48:42 +0100 Subject: [PATCH] fix(mobile): Reduces sizes a bit of other elements --- static/css/order-hardware.css | 38 ++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/static/css/order-hardware.css b/static/css/order-hardware.css index 9dd29a6..8f7a157 100644 --- a/static/css/order-hardware.css +++ b/static/css/order-hardware.css @@ -148,11 +148,15 @@ } body { - font-size: .8rem; + font-size: .7rem; + } + + #root-shop, #root-shop>div { + height: calc(100vh - 50px); } #root-shop .productItem { - padding: 2rem 1rem 1rem; + padding: 1rem .5rem .5rem; } #root-shop .productItem .content img { @@ -164,7 +168,7 @@ } #root-shop .productItem .content h3 { - font-size: 1.1rem; + font-size: 1rem; } #root-shop .productItem .content ul { @@ -193,6 +197,10 @@ flex-direction: column; } + #root-shop .panel h2 { + font-size: 1.5rem; + } + #root-shop .panel .summary>.summary-price table { font-size: .7rem; } @@ -245,6 +253,26 @@ padding-bottom: 5px; } + body { + font-size: .7rem; + } + + #root-shop, #root-shop>div { + height: calc(100vh - 50px); + } + + #root-shop .productItem { + padding: 1rem .5rem .5rem; + } + + #root-shop .productItem .content .price { + padding: .3rem; + } + + #root-shop .productItem .content h3 { + font-size: 1rem; + } + #root-shop .layout>aside.aside.menu-opened { transform: translate3d(0, 0, 0); transition: transform .3s; @@ -311,6 +339,10 @@ margin-bottom: 1.5rem; } + #root-shop .panel h2 { + font-size: 1.5rem; + } + #root-shop .panel .control > .description, #root-shop .panel .control > .crate-mode { width: 100%;