From 7d2b70f26f3d45979260b5aea8056d16b8cba4a6 Mon Sep 17 00:00:00 2001 From: Oleksandr Zhurbenko Date: Thu, 5 Mar 2015 16:34:19 -0800 Subject: [PATCH] Minor changes in the mobile view --- labs/meteor-client/app/client/stylesheets/chat.less | 7 ++----- labs/meteor-client/app/client/views/chat/chat_bar.coffee | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/labs/meteor-client/app/client/stylesheets/chat.less b/labs/meteor-client/app/client/stylesheets/chat.less index 0aec48a3b7..b975a2f5da 100755 --- a/labs/meteor-client/app/client/stylesheets/chat.less +++ b/labs/meteor-client/app/client/stylesheets/chat.less @@ -35,6 +35,7 @@ list-style: none; margin: 0px; padding: 0px; + @media @desktop-portrait, @landscape { li { margin: 0px; @@ -48,6 +49,7 @@ } } } + } #chatbody { @@ -63,11 +65,6 @@ } } -.chatGreeting { - color: blue; - margin-top: 5px; -} - .chatNameSelector { clear:right; float:left; diff --git a/labs/meteor-client/app/client/views/chat/chat_bar.coffee b/labs/meteor-client/app/client/views/chat/chat_bar.coffee index e6e458ac71..c21af884ea 100755 --- a/labs/meteor-client/app/client/views/chat/chat_bar.coffee +++ b/labs/meteor-client/app/client/views/chat/chat_bar.coffee @@ -255,9 +255,9 @@ Template.optionsFontSize.events if selectedFontSize setInSession "messageFontSize", selectedFontSize else if isPortraitMobile() - setInSession "messageFontSize", 20 + setInSession "messageFontSize", Meteor.config.app.mobileFont else - setInSession "messageFontSize", 12 + setInSession "messageFontSize", Meteor.config.app.desktopFont Template.optionsFontSize.helpers getFontsizes: -> (size for size in [8..30] by 2)