From f92dec3103d77dd17dabe16767fa4e5165404e84 Mon Sep 17 00:00:00 2001
From: ayamberkakienam <zackhardyz@gmail.com>
Date: Sat, 7 Oct 2017 20:41:48 +0700
Subject: [PATCH] Fix next button on select_destination

---
 css/order.css             | 4 +++-
 order/select_location.php | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/css/order.css b/css/order.css
index a8b6898b..93f72436 100755
--- a/css/order.css
+++ b/css/order.css
@@ -92,7 +92,9 @@ div.step_name {
 	height: 20px;
 }
 
-.content input[type=submit]#loc_button {
+.content #loc_button {
+	text-align: center;
+	vertical-align: middle;
 	position: absolute;
 	margin: 10px;
 	left: 45%;
diff --git a/order/select_location.php b/order/select_location.php
index b4048b2a..96728cce 100644
--- a/order/select_location.php
+++ b/order/select_location.php
@@ -79,7 +79,7 @@
 						<span class="loc_form_label">Preferred driver</span>
 						<input type="text" name="preferred_driver" placeholder="(optional)">
 					</div>
-					<div class="button green" onclick="checkValidity();">
+					<div class="button green" id="loc_button" onclick="checkValidity();">
 						Next
 					</div>
 				</div>
-- 
GitLab