From 59ff1991d6809d16afdab950f0cbbb940af3159d Mon Sep 17 00:00:00 2001 From: Lucas Breno de Souza Noronha Braga Date: Sat, 16 Mar 2024 20:21:39 -0400 Subject: [PATCH] Fix responsiveness --- Areas/Admin/Views/Order/Index.cshtml | 2 +- Areas/Admin/Views/User/Index.cshtml | 2 +- Areas/Customer/Views/Home/Index.cshtml | 5 ++--- Views/Shared/_Layout.cshtml | 3 +++ wwwroot/css/site.css | 18 ++++++++++++++++++ 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/Areas/Admin/Views/Order/Index.cshtml b/Areas/Admin/Views/Order/Index.cshtml index ea9c824..32cbcb9 100644 --- a/Areas/Admin/Views/Order/Index.cshtml +++ b/Areas/Admin/Views/Order/Index.cshtml @@ -57,7 +57,7 @@ - +
diff --git a/Areas/Admin/Views/User/Index.cshtml b/Areas/Admin/Views/User/Index.cshtml index fa7f5d3..0eec4a8 100644 --- a/Areas/Admin/Views/User/Index.cshtml +++ b/Areas/Admin/Views/User/Index.cshtml @@ -7,7 +7,7 @@
-
ID
+
diff --git a/Areas/Customer/Views/Home/Index.cshtml b/Areas/Customer/Views/Home/Index.cshtml index b7704fa..5fb96c0 100644 --- a/Areas/Customer/Views/Home/Index.cshtml +++ b/Areas/Customer/Views/Home/Index.cshtml @@ -18,11 +18,10 @@
-
-
+
+ +
@@ -68,6 +70,7 @@ + @await RenderSectionAsync("Scripts", required: false) diff --git a/wwwroot/css/site.css b/wwwroot/css/site.css index f8d98fc..2500df6 100644 --- a/wwwroot/css/site.css +++ b/wwwroot/css/site.css @@ -19,4 +19,22 @@ html { body { margin-bottom: 60px; +} + +.responsive-browsing-tables { + height: 400px; +} + +.table-card-product { + height: 150px; +} + +@media (max-width: 540px) { + .responsive-browsing-tables { + height: 100%; + } + + .table-card-product { + height: 320px; + } } \ No newline at end of file
Name