Skip to content

Commit

Permalink
Merge pull request #2108 from Agenta-AI/fix/padding-issue-in-workspac…
Browse files Browse the repository at this point in the history
…e-left-side

fix(frontend): padding issue in workspace selector component
  • Loading branch information
mmabrouk authored Oct 15, 2024
2 parents 635eec7 + f0cc128 commit 9ef726e
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 9ef726e

Please sign in to comment.