mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
Merge pull request #107 from duckietm/Dev
🆙 Added BuildHeight to NitroV3
This commit is contained in:
@@ -62,8 +62,8 @@ export const FriendBarItemView: FC<{ friend: MessengerFriend }> = props => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={elementRef} className="relative">
|
<div ref={elementRef} className="relative">
|
||||||
<div className="absolute left-[-4px] bottom-[-2px] z-10 h-[66px] w-[34px] overflow-hidden pointer-events-none">
|
{(friend.id > 0) ? (
|
||||||
{(friend.id > 0) ? (
|
<div className="absolute left-[-4px] bottom-[-2px] z-10 h-[66px] w-[34px] overflow-hidden pointer-events-none">
|
||||||
<LayoutAvatarImageView
|
<LayoutAvatarImageView
|
||||||
direction={2}
|
direction={2}
|
||||||
figure={friend.figure}
|
figure={friend.figure}
|
||||||
@@ -71,10 +71,12 @@ export const FriendBarItemView: FC<{ friend: MessengerFriend }> = props => {
|
|||||||
className="block pointer-events-none drop-shadow-[1px_1px_0_rgba(0,0,0,0.6)]"
|
className="block pointer-events-none drop-shadow-[1px_1px_0_rgba(0,0,0,0.6)]"
|
||||||
style={ { marginLeft: '-28px', marginTop: '-10px' } }
|
style={ { marginLeft: '-28px', marginTop: '-10px' } }
|
||||||
/>
|
/>
|
||||||
) : (
|
</div>
|
||||||
<LayoutBadgeImageView badgeCode="ADM" isGroup={false} className="scale-75 block pointer-events-none drop-shadow-[1px_1px_0_rgba(0,0,0,0.6)]" />
|
) : (
|
||||||
)}
|
<div className="absolute left-[6px] top-1/2 -translate-y-1/2 z-10 flex h-[28px] w-[28px] items-center justify-center pointer-events-none">
|
||||||
</div>
|
<LayoutBadgeImageView badgeCode="ADM" isGroup={false} className="block pointer-events-none drop-shadow-[1px_1px_0_rgba(0,0,0,0.6)]" />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
<motion.button
|
<motion.button
|
||||||
type="button"
|
type="button"
|
||||||
whileHover={{ scale: 1.02 }} whileTap={{ scale: 0.98 }}
|
whileHover={{ scale: 1.02 }} whileTap={{ scale: 0.98 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user