Fix page reload breaking stuff and add few other things

This commit is contained in:
Prayag Prajapati committed 2023-02-24 20:49:43 +05:30
1 parent 899fcb0479
commit 93b79c5fba
7 files changed
+106 -44

No files matched your search

+1 -1
View File
@@ -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
+2
View File
@@ -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;