fix: emoji pack button size

This commit is contained in:
verbiricha 2023-08-02 19:18:20 +02:00
parent 025a9c0fa8
commit d997172958
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
.emoji-pack .emoji-pack-title { .emoji-pack .emoji-pack-title {
display: flex; display: flex;
align-items: flex-start; align-items: center;
justify-content: space-between; justify-content: space-between;
} }

View File

@ -48,7 +48,9 @@ export function EmojiPack({ ev }: { ev: NostrEvent }) {
<h4>{name}</h4> <h4>{name}</h4>
{login?.pubkey && ( {login?.pubkey && (
<AsyncButton <AsyncButton
className={`btn btn-primary ${isUsed ? "delete-button" : ""}`} className={`btn btn-small btn-primary ${
isUsed ? "delete-button" : ""
}`}
onClick={toggleEmojiPack} onClick={toggleEmojiPack}
> >
{isUsed ? "Remove" : "Add"} {isUsed ? "Remove" : "Add"}