Minor changes in the mobile view

This commit is contained in:
Oleksandr Zhurbenko 2015-03-05 16:34:19 -08:00
parent 30c0b67015
commit 7d2b70f26f
2 changed files with 4 additions and 7 deletions

View File

@ -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;

View File

@ -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)