From e44dad08ef1548ee0cb4549792a1067eb904d7c9 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Tue, 22 Apr 2025 20:38:24 +0330 Subject: [PATCH] fix sms style --- ServiceHost/Areas/Admin/Pages/Index.cshtml | 54 +++++++++++++--------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/ServiceHost/Areas/Admin/Pages/Index.cshtml b/ServiceHost/Areas/Admin/Pages/Index.cshtml index 7fa9404b..759ffd12 100644 --- a/ServiceHost/Areas/Admin/Pages/Index.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Index.cshtml @@ -1,5 +1,4 @@ -permission="2" -@page +@page @using _0_Framework.Application @using AccountManagement.Application.Contracts.TicketAccessAccount @using Microsoft.AspNetCore.Mvc.TagHelpers @@ -131,12 +130,12 @@ .gwb-container { display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); + grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 9px 0 0 0; } .remain-number { - font-size: 14px; + font-size: 10px; } @@ -148,6 +147,7 @@ outline: none; border-radius: 4px; font-size: 14px; + white-space: nowrap; transition: all ease-in-out .3s } @@ -163,17 +163,25 @@ background-color: #0ba3a3; } + @@media only screen and (max-width : 1550px) { + .gwb-container { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + } + @@media (max-width: 1366px) { .gwb-container { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .remain-number { - font-size: 13px; - + grid-template-columns: repeat(3, minmax(0, 1fr)); } } + + @@media only screen and (max-width : 992px) { + .gwb-container { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + } + @@media (max-width: 768px) { .gwb-container { @@ -232,7 +240,7 @@
-
+
@@ -242,19 +250,19 @@
-
- پیامک باقیمانده - @Model.SmsRemaining -
+
+
+ پیامک باقیمانده + @Model.SmsRemaining +
- -