From 99ee41e6b65b4f16927d9be49df07c2aec5469e6 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 18 May 2022 17:57:36 +0200 Subject: improve modal size on phone screens --- templates/registration/base_admin.html | 7 +++++++ templates/registration/base_client.html | 7 +++++++ version.txt | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) 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; + } + } 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; + } + } 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 -- cgit v1.2.1