summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/AppHeaderUser.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-15 10:17:44 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-20 16:07:06 +0200
commit24b857ae580fcbea441e7cb91bc7aba681fc6c8b (patch)
tree3a16128ba34400ff8b4a8cb81e1e3556e167264f /opendc-web/opendc-web-ui/src/components/AppHeaderUser.js
parent9dd75a9a40f7f2aebbc617980c99085f9dc688f8 (diff)
feat(web/ui): Reduce height of application header
This change reduces the height of the application header to 3.5rem to increase the screen real-estate that we can use for the application content.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/AppHeaderUser.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/AppHeaderUser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/AppHeaderUser.js b/opendc-web/opendc-web-ui/src/components/AppHeaderUser.js
index 809f3ac3..e271accb 100644
--- a/opendc-web/opendc-web-ui/src/components/AppHeaderUser.js
+++ b/opendc-web/opendc-web-ui/src/components/AppHeaderUser.js
@@ -51,9 +51,9 @@ export default function AppHeaderUser() {
]
const avatarComponent = avatar ? (
- <Avatar src={avatar} alt="Avatar image" />
+ <Avatar src={avatar} alt="Avatar image" size="sm" />
) : (
- <Skeleton className="pf-c-avatar" shape="circle" width="2.25rem" screenreaderText="Loading avatar" />
+ <Skeleton className="pf-c-avatar" shape="circle" width="24px" screenreaderText="Loading avatar" />
)
return (