From 874e32699ab6233f8b5e9957eb934931a008a27e Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 2 Feb 2017 11:30:14 +0000 Subject: [PATCH] Handle icons with width > height Icons with width > height will now only assume a max-height of 100% as opposed to a height of 100%. This is so they don't overflow the width of 300px. --- .../vector/css/matrix-react-sdk/structures/login/_Login.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss b/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss index 39c65e5d1..a359627af 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss @@ -46,7 +46,7 @@ limitations under the License. } .mx_Login_logo img { - height: 100% + max-height: 100% } .mx_Login_support {