diff --git a/src/renderer/src/components/sidebar/sidebar-profile.css.ts b/src/renderer/src/components/sidebar/sidebar-profile.css.ts index 5f3c16da..c5347c26 100644 --- a/src/renderer/src/components/sidebar/sidebar-profile.css.ts +++ b/src/renderer/src/components/sidebar/sidebar-profile.css.ts @@ -59,6 +59,7 @@ export const profileButtonTitle = style({ fontWeight: "bold", fontSize: vars.size.body, width: "100%", + textAlign: "left", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", diff --git a/src/renderer/src/hooks/use-user-details.ts b/src/renderer/src/hooks/use-user-details.ts index d73e2a07..1d8257f4 100644 --- a/src/renderer/src/hooks/use-user-details.ts +++ b/src/renderer/src/hooks/use-user-details.ts @@ -36,7 +36,7 @@ export function useUserDetails() { format: "hex", }); - const profileBackground = `linear-gradient(135deg, ${darkenColor(output as string, 0.6)}, ${darkenColor(output as string, 0.8, 0.9)})`; + const profileBackground = `linear-gradient(135deg, ${darkenColor(output as string, 0.6)}, ${darkenColor(output as string, 0.8, 0.7)})`; dispatch(setProfileBackground(profileBackground)); window.localStorage.setItem( @@ -44,7 +44,7 @@ export function useUserDetails() { JSON.stringify({ ...userDetails, profileBackground }) ); } else { - const profileBackground = `#151515e6`; + const profileBackground = `#151515B3`; dispatch(setProfileBackground(profileBackground)); window.localStorage.setItem(