We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6697835 commit 48bcfa8Copy full SHA for 48bcfa8
2 files changed
src/components/profile/Profile.js
@@ -1,11 +1,12 @@
1
import { UserProfile, useSession } from "@descope/react-sdk";
2
+import './profile.css';
3
4
function Profile() {
5
const { isAuthenticated, isSessionLoading } = useSession();
6
7
return (
8
<>
- <div>
9
+ <div className="profile">
10
{isAuthenticated || isSessionLoading ? <UserProfile
11
widgetId="user-profile-widget"
12
onLogout={() => {
src/components/profile/profile.css
@@ -0,0 +1,7 @@
+.profile {
+ border: 30px solid transparent;
+ border-radius: 100px;
+ max-width: fit-content;
+ margin-left: auto;
+ margin-right: auto;
+}
0 commit comments