From 19a429c92f78f84f32b468c18f19defbd2d1eafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Mon, 16 Oct 2023 12:25:27 +0100 Subject: [PATCH] fix: small adjustments on the new header icons (#5043) Some small UI adjustments to the new header icons. ![image](https://github.com/Unleash/unleash/assets/14320932/39f711dd-520b-4eb1-ac79-fefc6a79aaf7) Co-authored-by: Nicolae --- frontend/src/component/common/Notifications/Notifications.tsx | 4 ++-- frontend/src/component/user/UserProfile/UserProfile.tsx | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/component/common/Notifications/Notifications.tsx b/frontend/src/component/common/Notifications/Notifications.tsx index 5b5a9c7810..8845a66b73 100644 --- a/frontend/src/component/common/Notifications/Notifications.tsx +++ b/frontend/src/component/common/Notifications/Notifications.tsx @@ -59,8 +59,8 @@ const StyledDotBox = styled(Box)(({ theme }) => ({ width: '7px', height: '7px', position: 'absolute', - top: 7, - right: 4, + top: 11, + right: 11, })); const StyledHeaderBox = styled(Box)(() => ({ diff --git a/frontend/src/component/user/UserProfile/UserProfile.tsx b/frontend/src/component/user/UserProfile/UserProfile.tsx index 9925b4590d..7dbf1a00bd 100644 --- a/frontend/src/component/user/UserProfile/UserProfile.tsx +++ b/frontend/src/component/user/UserProfile/UserProfile.tsx @@ -17,14 +17,10 @@ const StyledProfileContainer = styled('div')(({ theme }) => ({ })); const StyledIconButton = styled(IconButton)(({ theme }) => ({ - ...focusable(theme), ...flexRow, ...itemsCenter, color: 'inherit', padding: theme.spacing(1), - '&:hover': { - backgroundColor: 'transparent', - }, '&:focus-visible': { outlineStyle: 'solid', outlineWidth: 2,