From 63f520b5ee7fd6a8afac0a85f6693669d9a9405d Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 9 Nov 2017 22:45:35 +0000 Subject: [PATCH] Fix app tile margins. --- .../css/matrix-react-sdk/views/rooms/_AppsDrawer.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss index 7d100cce..4a20e50e 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss @@ -50,13 +50,16 @@ limitations under the License. .mx_AppTile { max-width: 960px; width: 50%; - margin: 0 5px 2px 0; + margin-right: 5px; border: 1px solid $primary-hairline-color; border-radius: 2px; - // height: 350px; - // display: inline-block; } +.mx_AppTile:last-child { + margin-right: 0; +} + + .mx_AppTileFullWidth { max-width: 960px; width: 100%; @@ -69,7 +72,7 @@ limitations under the License. } .mx_AppTile, .mx_AppTileFullWidth { - margin-bottom: 3px; + margin-top: 3px; } .mx_AppTileMenuBar {