From 2c921f767c8090216b8126c0111a0ed21a66401e Mon Sep 17 00:00:00 2001 From: ja Date: Tue, 23 Nov 2021 16:31:32 +0100 Subject: [PATCH] Css modal angepasst an Mobilbildschirmbreite --- Customers/Customers.master | 10 ++-------- Global.asax | 2 +- css/Customers/MasterpageCustomers.css | 12 ++++-------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/Customers/Customers.master b/Customers/Customers.master index 6e1acb1..6ff0047 100644 --- a/Customers/Customers.master +++ b/Customers/Customers.master @@ -244,20 +244,14 @@ .modal-content { width: 400px; display: block; - overflow-x: no-content; + overflow-x: hidden; } .modal-header { width: 400px; } - .modal-body { - /* background-color:#043381;*/ - background-color: #fff; - color: #043381; - width: 400px; - } - + .modal-footer { width: 400px; } diff --git a/Global.asax b/Global.asax index 8219811..e39f709 100644 --- a/Global.asax +++ b/Global.asax @@ -24,7 +24,7 @@ void Application_Error(object sender, EventArgs e) { // Code, der ausgeführt wird, wenn ein nicht behandelter Fehler auftritt - 'Response.Redirect("../login/Error.aspx"); + //Response.Redirect("../login/Error.aspx"); } diff --git a/css/Customers/MasterpageCustomers.css b/css/Customers/MasterpageCustomers.css index 604d577..b198293 100644 --- a/css/Customers/MasterpageCustomers.css +++ b/css/Customers/MasterpageCustomers.css @@ -471,7 +471,7 @@ ContentPlaceHolder1 { } .modal-content { - width: 600px; + width: 400px; display: block; overflow-x: no-content; } @@ -484,7 +484,7 @@ ContentPlaceHolder1 { /* background-color:#043381;*/ background-color: #fff; color: #043381; - width: 600px; + width: 400px; } .modal-footer { @@ -521,14 +521,10 @@ ContentPlaceHolder1 { background-color: #fff; } - .modal-body { - /* background-color:#043381;*/ - background-color: #fff; - color: #043381; - width:400px; - } + .modal-header { + width:400px; background-image: linear-gradient(to right, #003680, #0055cc); color: #fff; }