Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 2e2309e

Browse files
committed
Fixes an issue where long content in the middle of the moderator card can shrink the left and right sides of the card.
1 parent 4f15b8e commit 2e2309e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/templates/moderatorCard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%>
55

66
<div class="moderatorCardInner js-moderatorCard flexRow gutterH clrP <% if(!ob.valid) print('disabled'); if(!loaded) print('disabled');%>">
7-
<div>
7+
<div class="flexNoShrink">
88
<a class="userIcon disc clrBr2 clrSh1" style="<%= ob.getAvatarBgImage(ob.avatarHashes) %>"></a>
99
</div>
1010
<div class="moderatorCardMiddle">
@@ -39,7 +39,7 @@
3939
</div>
4040
<% } %>
4141
</div>
42-
<div>
42+
<div class="flexNoShrink">
4343
<% if (ob.valid) { %>
4444
<div class="flexColRows gutterV">
4545
<button class="btn clrP clrBr selectBtn js-viewBtn">

0 commit comments

Comments
 (0)