Skip to content

Commit

Permalink
fix: limit custom lemmy emoji max size (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Jan 23, 2025
1 parent c2b9fe9 commit 97cb419
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/features/shared/markdown/MarkdownImg.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@
height: 200px;
border: 1px solid rgba(var(--ion-color-dark-rgb), 0.15);
}

/* Lemmy emojis set the title like this: "emoji emoji_name" */
img {
&[title^="emoji "],
&[title="emoji"] {
max-height: 40px;
}
}
}

0 comments on commit 97cb419

Please sign in to comment.