mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-08 08:44:15 +00:00
Add id attribute to UserPreview root div and remove transform style
This commit is contained in:
parent
179baa3777
commit
28bdb0f9d4
@ -59,6 +59,7 @@ const UserPreview = (props) => {
|
||||
|
||||
return (
|
||||
<div
|
||||
id={userData._id}
|
||||
className={classnames("userPreview", {
|
||||
["clickable"]: typeof props.onClick === "function",
|
||||
["small"]: props.small && !props.big,
|
||||
|
@ -65,8 +65,6 @@
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
transform: translate(0, 3px);
|
||||
|
||||
img {
|
||||
object-fit: cover;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user