From 808d2ddf100869eab1dcaa516dc7a52f96a22ba5 Mon Sep 17 00:00:00 2001 From: Michal Masrna <38047051+michalmasrna1@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:09:29 +0100 Subject: [PATCH] =?UTF-8?q?SideContainer.scss=20enable=20scrolling=20to=20?= =?UTF-8?q?prevent=20the=20container=20to=20overf=E2=80=A6=20(#445)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SideContainer.scss enable scrolling to prevent the container to overflow away from the page. Especially in discussions with many comments. --- src/components/Problems/SideContainer.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Problems/SideContainer.module.scss b/src/components/Problems/SideContainer.module.scss index fd47ea10..a5f2c674 100644 --- a/src/components/Problems/SideContainer.module.scss +++ b/src/components/Problems/SideContainer.module.scss @@ -6,6 +6,7 @@ // potrebne, aby sa dodrzali parent hranice komponentu, aj ked tu bude vela contentu. // ratame s tym, ze si overflow ten content (napr. div s komentarmi) ohandli sam scrollbarom. overflow: hidden; + max-height: 100%; } .title {