From 1ed9460d99e4497c1d2acc04605aea156ae02be2 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 14 Aug 2018 12:48:21 -0400 Subject: [PATCH] Fix mobile view for billing section. Adding media query for the top section. Setup the table statement view for mobile. --- css/admin.css | 12 +++- views/admin/billing/statements.html | 86 +++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletion(-) diff --git a/css/admin.css b/css/admin.css index 6843554..aee9833 100644 --- a/css/admin.css +++ b/css/admin.css @@ -11,12 +11,22 @@ .glm-grid-container { display: grid; - grid-template-columns: 600px 200px; + grid-template-columns: 400px 200px; grid-gap: 30px; /* background-color: #fff; */ /* color: #444; */ } +@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { + .glm-grid-container { + display: block !important; + } + .glm-grid-container .glm-grid-item { + float: none; + width: 100%; + } + +} .glm-grid-item { /* background-color: #444; */ /* color: #fff; */ diff --git a/views/admin/billing/statements.html b/views/admin/billing/statements.html index 4dc70f5..63e5311 100644 --- a/views/admin/billing/statements.html +++ b/views/admin/billing/statements.html @@ -1,3 +1,86 @@ + + {if $fromMemberMenu} {include file='admin/member/header.html'} {include file='admin/billing/memberBillingSubHeader.html'} @@ -5,6 +88,8 @@ {include file='admin/billing/header.html'} {/if} +
+ @@ -59,4 +144,5 @@
+
{include file='admin/footer.html'} -- 2.17.1