Skip to content

Commit

Permalink
updates for badges
Browse files Browse the repository at this point in the history
  • Loading branch information
pichalite committed Oct 16, 2018
1 parent 944d489 commit 4371b71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions less/topic.less
Expand Up @@ -9,6 +9,11 @@
font-weight: 500;
padding-left: 10px;

@media (max-width: @screen-xs-max) {
display: flex;
padding-left: 0;
}

a {
margin-right: 10px;
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/topic/badge.tpl
@@ -1,5 +1,5 @@
<!-- BEGIN posts.user.selectedGroups -->
<!-- IF posts.user.selectedGroups.slug -->
<a href="{config.relative_path}/groups/{posts.user.selectedGroups.slug}"><small class="label group-label inline-block" style="background-color: {posts.user.selectedGroups.labelColor};"><!-- IF posts.user.selectedGroups.icon --><i class="fa {posts.user.selectedGroups.icon}"></i> <!-- ENDIF posts.user.selectedGroups.icon -->{posts.user.selectedGroups.userTitle}</small></a>
<a href="{config.relative_path}/groups/{posts.user.selectedGroups.slug}" class="hidden-xs"><small class="label group-label inline-block" style="background-color: {posts.user.selectedGroups.labelColor};"><!-- IF posts.user.selectedGroups.icon --><i class="fa {posts.user.selectedGroups.icon}"></i> <!-- ENDIF posts.user.selectedGroups.icon -->{posts.user.selectedGroups.userTitle}</small></a>
<!-- ENDIF posts.user.selectedGroups.slug -->
<!-- END posts.user.selectedGroups -->

0 comments on commit 4371b71

Please sign in to comment.