+
+
+
+
+
+
+
+
+
+
+
+ {userName}
+
+
+ }
+ />
+
+
+
+
+
+
+
+ {email}
+
+
+ }
+ />
+
+ {profilePictureUrl && (
-
+
+
+
+
+
-
- {userName}
+
+
+ {profilePictureUrl}
}
/>
-
-
-
-
-
-
- {email}
-
-
- }
- />
-
- {profilePictureUrl && (
-
-
-
-
-
-
-
-
-
-
- {profilePictureUrl}
-
-
- }
- />
-
- )}
-
-
+ )}
+
-
+
);
};
diff --git a/src/features/user/profile/styles.js b/src/features/user/profile/styles.js
index e140522..22d2197 100644
--- a/src/features/user/profile/styles.js
+++ b/src/features/user/profile/styles.js
@@ -1,5 +1,12 @@
const style = theme => {
return {
+ panel: {
+ display: "flex",
+ flexDirection: "row",
+ "@media (max-width: 600px)": {
+ flexDirection: "column" // change direction for small screens
+ }
+ },
profilePicture: {
margin: "auto",
display: "block",