mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Add title to user card image, shrink to avoid bleeding into text.
This commit is contained in:
parent
7a8811882e
commit
9196642221
@ -53,8 +53,8 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if user.card_badge}}
|
{{#if user.card_badge}}
|
||||||
{{#link-to 'badges.show' user.card_badge class="card-badge"}}
|
{{#link-to 'badges.show' user.card_badge class="card-badge" title=user.card_badge.name}}
|
||||||
{{icon-or-image user.card_badge.image}}
|
{{icon-or-image user.card_badge.image title=user.card_badge.name}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
|
|
||||||
.card-badge {
|
.card-badge {
|
||||||
img {
|
img {
|
||||||
max-width: 100px;
|
max-width: 40px;
|
||||||
}
|
}
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 12px;
|
right: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user