From 2d9fbcab70a2f941de95d5aabfc3d57cd3417c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=BCrmann?= Date: Wed, 26 Jun 2019 10:49:46 +0200 Subject: [PATCH 1/2] Fix the scrollbar in the community bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the scrollbar is always visible because the inner container is 5px bigger in height than the outer container. This is hereby fixed. Signed-off-by: Jonas Schürmann --- res/css/structures/_TagPanel.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/structures/_TagPanel.scss b/res/css/structures/_TagPanel.scss index a818f52125..a01e5dd838 100644 --- a/res/css/structures/_TagPanel.scss +++ b/res/css/structures/_TagPanel.scss @@ -65,7 +65,7 @@ limitations under the License. align-items: center; margin-top: 5px; - height: 100%; + height: calc(100% - 5px); } .mx_TagPanel .mx_TagPanel_tagTileContainer > div { height: 40px; From 92c2a119c94b1ead60909d780e79556884f5a374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=BCrmann?= Date: Wed, 26 Jun 2019 15:27:52 +0200 Subject: [PATCH 2/2] Remove top margin of community panel container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a simpler fix for the scrollbar problem than changing the definition for height, which was my previous attempt at solving this problem. Additionally, the top and bottom margins are now consistent. Signed-off-by: Jonas Schürmann --- res/css/structures/_TagPanel.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/css/structures/_TagPanel.scss b/res/css/structures/_TagPanel.scss index a01e5dd838..b03d36a592 100644 --- a/res/css/structures/_TagPanel.scss +++ b/res/css/structures/_TagPanel.scss @@ -63,9 +63,8 @@ limitations under the License. display: flex; flex-direction: column; align-items: center; - margin-top: 5px; - height: calc(100% - 5px); + height: 100%; } .mx_TagPanel .mx_TagPanel_tagTileContainer > div { height: 40px;