From 6af866557d052d7048ab2b0acb7406df3b0f7cf1 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 30 Oct 2021 12:34:31 +0000 Subject: [PATCH 1/3] fixes missing wraping on iPdas and iPhones Fixes #2210 --- InvenTree/templates/page_base.html | 2 +- inventree-data | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 160000 inventree-data diff --git a/InvenTree/templates/page_base.html b/InvenTree/templates/page_base.html index fc00fb1f7f..2a9704a728 100644 --- a/InvenTree/templates/page_base.html +++ b/InvenTree/templates/page_base.html @@ -7,7 +7,7 @@
-
+

{% block heading %} -- page header goes here -- diff --git a/inventree-data b/inventree-data new file mode 160000 index 0000000000..5a5efd9dac --- /dev/null +++ b/inventree-data @@ -0,0 +1 @@ +Subproject commit 5a5efd9dac4983a56b3141abdcc9e115466da253 From 14680531f0cb019662bbec12a73715f35ad7cbd8 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 30 Oct 2021 14:05:40 +0000 Subject: [PATCH 2/3] [BUG] Auth screens broken Fixes #2213 --- InvenTree/InvenTree/static/css/inventree.css | 16 +++++++--------- InvenTree/templates/account/base.html | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 34d3685a7e..22513b2d85 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -15,25 +15,23 @@ } .login-screen { - background-image: url("/static/img/paper_splash.jpg"); + background: url(/static/img/paper_splash.jpg) no-repeat center fixed; background-size: cover; - background-repeat: no-repeat; - height: 100%; + height: 100vh; font-family: 'Numans', sans-serif; color: #eee; } .login-container { - left: 50%; - position: fixed; - top: 50%; - transform: translate(-50%, -50%); - width: 30%; - align-content: center; + align-self: center; border-radius: 15px; padding: 20px; padding-bottom: 35px; background-color: rgba(50, 50, 50, 0.75); + + width: 100%; + max-width: 330px; + margin: auto; } .login-header { diff --git a/InvenTree/templates/account/base.html b/InvenTree/templates/account/base.html index 7ad0447cd5..048496c4a5 100644 --- a/InvenTree/templates/account/base.html +++ b/InvenTree/templates/account/base.html @@ -13,7 +13,7 @@ - + @@ -34,7 +34,7 @@ Background Image Attribution: https://unsplash.com/photos/Ixvv3YZkd7w --> -