diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-05-18 17:57:36 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-05-18 17:57:36 +0200 |
commit | 99ee41e6b65b4f16927d9be49df07c2aec5469e6 (patch) | |
tree | 3fd8338d7182b00cb45bf4e68d35d08dd6b780ab | |
parent | fix csv download if no personal data (diff) | |
download | scout-subs-99ee41e6b65b4f16927d9be49df07c2aec5469e6.tar.gz scout-subs-99ee41e6b65b4f16927d9be49df07c2aec5469e6.zip |
improve modal size on phone screens
-rw-r--r-- | templates/registration/base_admin.html | 7 | ||||
-rw-r--r-- | templates/registration/base_client.html | 7 | ||||
-rw-r--r-- | version.txt | 2 |
3 files changed, 15 insertions, 1 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"> diff --git a/version.txt b/version.txt index d316b6d..6acbe2c 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.5 -rev=20 +rev=21 |