diff options
| author | HJ <spam@hjkos.com> | 2019-03-11 09:45:16 +0000 |
|---|---|---|
| committer | HJ <spam@hjkos.com> | 2019-03-11 09:45:16 +0000 |
| commit | 89d684af4e83dda35106a971781368b8310ed917 (patch) | |
| tree | 80565fff0a139bb73f6be4c3fb2270a8e715fe1d | |
| parent | 151e200983df56d61ed4fb3a22e229e043a0f83a (diff) | |
| parent | d0e78df22062105435f81b1d147434af8cce1530 (diff) | |
Merge branch 'emoji-limit-profile' into 'develop'
user_card.vue: Set img.emoji to 32×32px
See merge request pleroma/pleroma-fe!665
| -rw-r--r-- | src/components/user_card/user_card.vue | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index cc2ce6b8..002cb48f 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -159,6 +159,18 @@ &-bio { text-align: center; + + img { + object-fit: contain; + vertical-align: middle; + max-width: 100%; + max-height: 400px; + + .emoji { + width: 32px; + height: 32px; + } + } } // Modifiers |
