aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-05-18 17:57:36 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2022-05-18 17:57:36 +0200
commit99ee41e6b65b4f16927d9be49df07c2aec5469e6 (patch)
tree3fd8338d7182b00cb45bf4e68d35d08dd6b780ab /templates/registration
parentfix csv download if no personal data (diff)
downloadscout-subs-99ee41e6b65b4f16927d9be49df07c2aec5469e6.tar.gz
scout-subs-99ee41e6b65b4f16927d9be49df07c2aec5469e6.zip
improve modal size on phone screens
Diffstat (limited to '')
-rw-r--r--templates/registration/base_admin.html7
-rw-r--r--templates/registration/base_client.html7
2 files changed, 14 insertions, 0 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index ad07775..94742fa 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -71,6 +71,13 @@
blockquote {
border-left: 5px solid {{hexcolor}};
}
+
+ @media only screen and (max-width: 992px) {
+ .modal {
+ width: 95% !important;
+ max-height: 90% !important;
+ }
+ }
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index ea2eb6a..18b7868 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -92,6 +92,13 @@
.breadcrumb:last-child {
color: {{hexcolor}}
}
+
+ @media only screen and (max-width: 992px) {
+ .modal {
+ width: 95% !important;
+ max-height: 90% !important;
+ }
+ }
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">