From 2620190afd2129d4e21bdd7848421f1a23686b53 Mon Sep 17 00:00:00 2001
From: "jan.hamal.dvorak" <mordae@anilinux.org>
Date: Thu, 14 Apr 2022 15:47:59 +0200
Subject: [PATCH] Fix login screen overflow on narrow devices

---
 login/resources/css/pirati.css | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/login/resources/css/pirati.css b/login/resources/css/pirati.css
index 0ae3931..c29ddf2 100644
--- a/login/resources/css/pirati.css
+++ b/login/resources/css/pirati.css
@@ -2,6 +2,12 @@
     background: #000;
     height: 100%;
 }
+
+.login-pf .kc-content {
+    max-width: 100%;
+    overflow: hidden;
+}
+
 div.kc-logo-text {
     background-image: url(../img/piratska-identita.svg);
     background-repeat: no-repeat;
@@ -9,4 +15,5 @@ div.kc-logo-text {
     height: 66px;
     width: 471px;
     margin: 0 auto;
+    max-width: 100%;
 }
-- 
GitLab