From ac597300cb2402fe8cf925b77430268c74bc70bd Mon Sep 17 00:00:00 2001 From: myleneb Date: Sat, 12 Sep 2015 15:34:25 +0200 Subject: [PATCH] fixes responsive view for group chat --- css/style.css | 6 +++--- js/theme_option.js | 1 + sass/layout/_responsive.sass | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 284491b..91f432d 100644 --- a/css/style.css +++ b/css/style.css @@ -239,7 +239,7 @@ html, body { html { font-size: 15px; background-color: #ddd; - background-image: url('../img/bg.png?1442060298'); + background-image: url('../img/bg.png?1442064299'); background-attachment: fixed; } @@ -442,7 +442,7 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover { max-width: 100%; width: 1200px; margin: auto; - background: url('../img/logo.png?1442060298') no-repeat 50% 50%; + background: url('../img/logo.png?1442064299') no-repeat 50% 50%; background-size: 20px; } .userMenu > ul li { @@ -2878,7 +2878,7 @@ ul.dropdown-menu li > li > a { } .mini-profile-indicators li { - width: 25%; + width: 20%; margin: 0; float: left; } diff --git a/js/theme_option.js b/js/theme_option.js index 0c1c105..5bd5533 100644 --- a/js/theme_option.js +++ b/js/theme_option.js @@ -91,6 +91,7 @@ function reOrganizeTemplates() { // for nin's templating $('.mini-profile-actions span').html(''); //group chat + $('.mini-profile-indicators li.userMenu-groupmessages a span:last-child ').html('Group Msg'); $('button.invite').html('invite'); $('button.leave').html('leave'); $('.secret-key').attr('title', 'copy secret key'); diff --git a/sass/layout/_responsive.sass b/sass/layout/_responsive.sass index 6845d89..80fbcaa 100644 --- a/sass/layout/_responsive.sass +++ b/sass/layout/_responsive.sass @@ -59,7 +59,7 @@ .mini-profile-info display: none .mini-profile-indicators li - width: 25% + width: 20% margin: 0 float: left @@ -90,6 +90,9 @@ + + + @media (max-width: 360px)