From 2bca14b6b7c9bdb0847d44813a15761dd8d4d182 Mon Sep 17 00:00:00 2001 From: nishaMuhd Date: Sun, 22 Oct 2023 11:15:59 +0800 Subject: [PATCH 1/2] update for mobile view --- public/css/customportal.css | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 public/css/customportal.css diff --git a/public/css/customportal.css b/public/css/customportal.css new file mode 100644 index 0000000..c58c9e5 --- /dev/null +++ b/public/css/customportal.css @@ -0,0 +1,45 @@ +.show-xs{ + /*display: block; + position:initial; */ + visibility:hidden; +} + + +@media (max-width: 768px) { + + .container, + .container-sm, + .container-md, + .container-lg { + max-width: 768px; + font-size:small; + } + + .show-xs{ + /* display: block; + position:initial; */ + visibility:visible; + } + + .hide-xs{ + position:absolute; + visibility:hidden; + } + + .table{ + display:table; + width:50%; + table-layout:fixed; + border-collapse:collapse; + } + + .table .row{ + display:table-row; + } + + .table .row > div{ + display:table-cell; + vertical-align:middle; + } + + } \ No newline at end of file From fa5854fc1688d65edb95f106eec3de706a99ee5f Mon Sep 17 00:00:00 2001 From: nishaMuhd Date: Sun, 22 Oct 2023 11:30:11 +0800 Subject: [PATCH 2/2] continue update mobile view --- resources/views/includes/home.blade.php | 102 +++++++++++++++--- .../views/includes/login/index.blade.php | 1 + resources/views/modal/marhun.blade.php | 24 +++++ 3 files changed, 115 insertions(+), 12 deletions(-) diff --git a/resources/views/includes/home.blade.php b/resources/views/includes/home.blade.php index fb410a4..2126953 100644 --- a/resources/views/includes/home.blade.php +++ b/resources/views/includes/home.blade.php @@ -215,17 +215,17 @@ ) @endif - +
- + - + {{-- --}} @@ -233,17 +233,46 @@ + - - + {{-- --}}
# No RujukanTempohTempoh T Akhir KeuntunganCawanganCawanganStatus
1 11 1 11111
- "Swipe" ke kiri + "Swipe" ke kiri
+ + + +
@@ -256,6 +285,43 @@ + diff --git a/resources/views/modal/marhun.blade.php b/resources/views/modal/marhun.blade.php index 99d2159..da821f9 100644 --- a/resources/views/modal/marhun.blade.php +++ b/resources/views/modal/marhun.blade.php @@ -1,3 +1,5 @@ + +