Update PinIcon position (#70)

* update pinIcon Position

* return to oneline
This commit is contained in:
Creation's 2024-10-21 12:27:11 -04:00 committed by GitHub
parent ea7ca4cdab
commit 3c6f4acef4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,6 @@ export default definePlugin({
} }
], ],
PinnedIcon({ pinned }: Message) { PinnedIcon({ pinned }: Message) {
return pinned ? <Icons.PinIcon size="xs" style={{ marginLeft: "5px" }} /> : null; return pinned ? (<Icons.PinIcon size="xs" style={{ position: "absolute", right: "0", top: "0" }} />) : null;
} }
}); });