Fix unread badge for longer numbers
For 2 or more digit numbers, allow the badge to expand to fit. // FREEBIE
This commit is contained in:
parent
43ca92948b
commit
393e3e1e2b
2 changed files with 4 additions and 2 deletions
|
@ -273,7 +273,8 @@ $avatar-size: 44px;
|
||||||
float: right;
|
float: right;
|
||||||
margin: 3px 10px 0 20px;
|
margin: 3px 10px 0 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: $unread-badge-size;
|
padding: 0 3px;
|
||||||
|
min-width: $unread-badge-size;
|
||||||
height: $unread-badge-size;
|
height: $unread-badge-size;
|
||||||
line-height: $unread-badge-size;
|
line-height: $unread-badge-size;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
|
@ -225,7 +225,8 @@ img.emoji {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 3px 10px 0 20px;
|
margin: 3px 10px 0 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 21px;
|
padding: 0 3px;
|
||||||
|
min-width: 21px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
Loading…
Reference in a new issue