From 63f520b5ee7fd6a8afac0a85f6693669d9a9405d Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 9 Nov 2017 22:45:35 +0000 Subject: [PATCH 1/2] 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 7d100cceb6..4a20e50e80 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 { From bfa4f59f3d440053368bb618b8bc9d0316963a56 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 9 Nov 2017 22:47:23 +0000 Subject: [PATCH 2/2] Lint space. --- .../vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss | 1 - 1 file changed, 1 deletion(-) 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 4a20e50e80..0b34a02a79 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 @@ -59,7 +59,6 @@ limitations under the License. margin-right: 0; } - .mx_AppTileFullWidth { max-width: 960px; width: 100%;