summaryrefslogtreecommitdiffstats
path: root/ui/src/components/communities.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-16 16:04:23 -0700
committerDessalines <tyhou13@gmx.com>2019-04-16 16:04:23 -0700
commit3f33cf8dcb53d20e67d8abc9214c7192a28dca94 (patch)
treeaab1da1b0eb54d6d0cb1e00f4f38cb218901ac53 /ui/src/components/communities.tsx
parente94885eb97b3240ed9cec7f97d0f405b2819e922 (diff)
Before big moderation merge
Diffstat (limited to 'ui/src/components/communities.tsx')
-rw-r--r--ui/src/components/communities.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/src/components/communities.tsx b/ui/src/components/communities.tsx
index f8cce2c0..a78e43a7 100644
--- a/ui/src/components/communities.tsx
+++ b/ui/src/components/communities.tsx
@@ -62,9 +62,9 @@ export class Communities extends Component<any, CommunitiesState> {
<th>Name</th>
<th>Title</th>
<th>Category</th>
- <th class="text-right">Subscribers</th>
- <th class="text-right">Posts</th>
- <th class="text-right">Comments</th>
+ <th class="text-right d-none d-md-table-cell">Subscribers</th>
+ <th class="text-right d-none d-md-table-cell">Posts</th>
+ <th class="text-right d-none d-md-table-cell">Comments</th>
<th></th>
</tr>
</thead>
@@ -74,13 +74,13 @@ export class Communities extends Component<any, CommunitiesState> {
<td><Link to={`/community/${community.id}`}>{community.name}</Link></td>
<td>{community.title}</td>
<td>{community.category_name}</td>
- <td class="text-right">{community.number_of_subscribers}</td>
- <td class="text-right">{community.number_of_posts}</td>
- <td class="text-right">{community.number_of_comments}</td>
+ <td class="text-right d-none d-md-table-cell">{community.number_of_subscribers}</td>
+ <td class="text-right d-none d-md-table-cell">{community.number_of_posts}</td>
+ <td class="text-right d-none d-md-table-cell">{community.number_of_comments}</td>
<td class="text-right">
{community.subscribed ?
- <button class="btn btn-sm btn-secondary" onClick={linkEvent(community.id, this.handleUnsubscribe)}>Unsubscribe</button> :
- <button class="btn btn-sm btn-secondary" onClick={linkEvent(community.id, this.handleSubscribe)}>Subscribe</button>
+ <span class="pointer btn-link" onClick={linkEvent(community.id, this.handleUnsubscribe)}>Unsubscribe</span> :
+ <span class="pointer btn-link" onClick={linkEvent(community.id, this.handleSubscribe)}>Subscribe</span>
}
</td>
</tr>