From c269abd434c24df194b7024021ce9ee958a9db96 Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Tue, 16 Jan 2018 09:40:15 +0000 Subject: [PATCH] CSS required as part of moving TagPanel from react-dnd to react-beautiful-dnd --- .../vector/css/matrix-react-sdk/structures/_TagPanel.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss b/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss index b557710b..91199a11 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/_TagPanel.scss @@ -29,11 +29,13 @@ limitations under the License. display: flex; flex-direction: column; align-items: center; - margin-top: 65px; + padding-top: 65px; + + flex-grow: 1; } .mx_TagPanel .mx_TagTile { - margin: 6px 0px; + padding: 6px 3px; opacity: 0.5; } .mx_TagPanel .mx_TagTile:focus, @@ -44,7 +46,7 @@ limitations under the License. .mx_TagPanel .mx_TagTile.mx_TagTile_selected { /* To offset border of mx_TagTile_avatar */ - margin: 3px 0px; + padding: 3px 0px; } .mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar {