mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-08 16:54: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 (
|
return (
|
||||||
<div
|
<div
|
||||||
|
id={userData._id}
|
||||||
className={classnames("userPreview", {
|
className={classnames("userPreview", {
|
||||||
["clickable"]: typeof props.onClick === "function",
|
["clickable"]: typeof props.onClick === "function",
|
||||||
["small"]: props.small && !props.big,
|
["small"]: props.small && !props.big,
|
||||||
|
@ -65,8 +65,6 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
transform: translate(0, 3px);
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user