Skip to content

Commit

Permalink
fix(frontend): padding issue in workspace selector component
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrafchowdury committed Oct 8, 2024
1 parent 385cb90 commit f0cc128
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion agenta-web/src/components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ const useStyles = createUseStyles((theme: JSSTheme) => ({
display: "flex !important",
alignItems: "center",
},
avatarMainContainer: {
width: "100%",
height: "100%",
display: "flex",
justifyContent: "space-between",
alignItems: "center",
padding: "4px 16px 4px 8px",
borderRadius: theme.borderRadiusLG,
},
avatarContainer: {
display: "flex",
alignItems: "center",
Expand Down Expand Up @@ -417,7 +426,7 @@ const Sidebar: React.FC = () => {
},
}}
>
<Button className="flex w-full h-full items-center justify-between">
<Button className={classes.avatarMainContainer}>
<div className={classes.avatarContainer}>
<Avatar
shape="square"
Expand Down

0 comments on commit f0cc128

Please sign in to comment.