From 225c142cd9c662afddab6f16d3718845232bca05 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sun, 2 Jan 2022 14:50:49 -0800 Subject: [PATCH] Style avatar css --- frontend/src/components/UserGenPage.js | 14 +++++++------- frontend/static/css/index.css | 9 +++++++++ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js index 6b1da52d..dadd63e7 100644 --- a/frontend/src/components/UserGenPage.js +++ b/frontend/src/components/UserGenPage.js @@ -38,7 +38,6 @@ export default class UserGenPage extends Component { }); } - // Fix next two handler functions so they work sequentially // at the moment they make the request generate a new user in parallel // to updating the token in the state. So the it works a bit weird. @@ -74,12 +73,13 @@ export default class UserGenPage extends Component { /> -
- +
+
diff --git a/frontend/static/css/index.css b/frontend/static/css/index.css index 24267672..def12e47 100644 --- a/frontend/static/css/index.css +++ b/frontend/static/css/index.css @@ -23,4 +23,13 @@ body { top: 50%; left: 50%; transform: translate(-50%,-50%); +} + +.newAvatar { + background-color:white; + border-radius: 50%; + border: 2px solid #555; + filter: drop-shadow(1px 1px 1px #000000); + height: 200px; + width: 200px; } \ No newline at end of file