diff --git a/app/assets/javascripts/discourse/templates/group.hbs b/app/assets/javascripts/discourse/templates/group.hbs index a8b8771230e..8f579b54e4e 100644 --- a/app/assets/javascripts/discourse/templates/group.hbs +++ b/app/assets/javascripts/discourse/templates/group.hbs @@ -30,18 +30,16 @@ {{/if}} -
- -
+ {{#mobile-nav class='group-nav' desktopClass="pull-left nav nav-stacked" currentPath=currentPath}} + {{#each getTabs as |tab|}} +
  • + {{#link-to tab.location model title=tab.message}} + {{tab.message}} + {{#if tab.count}}({{tab.count}}){{/if}} + {{/link-to}} +
  • + {{/each}} + {{/mobile-nav}}
    diff --git a/app/assets/stylesheets/mobile/group.scss b/app/assets/stylesheets/mobile/group.scss index 209b720b826..c0e21f3fa06 100644 --- a/app/assets/stylesheets/mobile/group.scss +++ b/app/assets/stylesheets/mobile/group.scss @@ -6,6 +6,24 @@ width: 100%; } +.group-details-container { + margin-bottom: 15px; +} + +.group-nav.mobile-nav { + margin-bottom: 15px; + + > li { + a { + color: white; + + .fa { color: white; } + } + } + + background-color: $quaternary; +} + table.group-members { th { text-align: center;