Fix page reload breaking stuff and add few other things
This commit is contained in:
7 files changed
+106
-44
No files matched your search
@@ -10,7 +10,7 @@ import "./avatar.module.scss";
|
||||
|
||||
export const AvatarCard = ({ userName, userId, userImageAvailable }) => {
|
||||
return (
|
||||
<ButtonBase className="card square">
|
||||
<ButtonBase className="card square" sx={{ borderRadius: "10px" }}>
|
||||
<div className="card-image-container">
|
||||
{userImageAvailable ? (
|
||||
<div
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
flex-direction: column;
|
||||
gap: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
overflow: hidden;
|
||||
.card-image {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
&-container {
|
||||
font-size: 5em;
|
||||
z-index: 0;
|
||||
}
|
||||
&-icon {
|
||||
font-size: 1.5em !important;
|
||||
|
||||
Reference in new issue
Block a user