🐛 Fix not-centered AvatarSelector rendering issue
This commit is contained in:
@@ -35,21 +35,15 @@ pub fn AvatarSelector(cx: Scope) -> Element {
|
||||
},
|
||||
},
|
||||
rect {
|
||||
width: "90",
|
||||
height: "90",
|
||||
x: "10",
|
||||
y: "10",
|
||||
width: "80",
|
||||
height: "80",
|
||||
rx: "12",
|
||||
fill: "url('#avatar-gradient')",
|
||||
filter: "url('#avatar-shadow')",
|
||||
stroke: "grey",
|
||||
},
|
||||
// rect {
|
||||
// x: "7.5",
|
||||
// y: "7.5",
|
||||
// width: "75",
|
||||
// height: "75",
|
||||
// fill: "transparent",
|
||||
// stroke: "grey",
|
||||
// },
|
||||
},
|
||||
img {
|
||||
class: ClassName::PICTURE,
|
||||
|
Reference in New Issue
Block a user