From af34ad57385fc36562e84d005fc4b82f4f356423 Mon Sep 17 00:00:00 2001 From: jouls Date: Wed, 15 May 2024 18:16:59 +0800 Subject: [PATCH] improved styling of badge for order status on vendor dashboard --- vendor-dashboard.php | 72 ++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/vendor-dashboard.php b/vendor-dashboard.php index a7f7c2e..2c22316 100644 --- a/vendor-dashboard.php +++ b/vendor-dashboard.php @@ -297,45 +297,45 @@ if ($_SESSION["isCustomer"] == true) { - -

+ // Generating style attribute based on the selected colors + $style = "display: flex; height: 15px; font-weight: bold; + width: 90px; font-size: 10px !important; + justify-content: center; align-items: center; padding: 10px; + background-color: $backgroundColor; border-radius: 30px; color: $textColor;"; + ?> +