From 34e79fecf5be993ed226c0fc01b295b5960b61c4 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Mon, 8 Jan 2024 11:30:48 +0000
Subject: [PATCH] fixes #3601

Closes #3601

Merge request studip/studip!2506
---
 resources/assets/stylesheets/scss/index.scss | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/resources/assets/stylesheets/scss/index.scss b/resources/assets/stylesheets/scss/index.scss
index 7b1c0b9b9af..ad760ad431c 100644
--- a/resources/assets/stylesheets/scss/index.scss
+++ b/resources/assets/stylesheets/scss/index.scss
@@ -192,6 +192,12 @@ $gap-between-boxes: calc($login-page-margin / 2);
     overflow: hidden;
     transition: max-height var(--transition-duration-slow) linear;
 
+    // This prevents the focus border from being cut due to overflow: hidden
+    margin-left: -5px;
+    margin-right: -5px;
+    padding-left: 5px;
+    padding-right: 5px;
+
     &.hide {
         max-height: 0px;
     }
-- 
GitLab