Skip to content

Commit 76e1e55

Browse files
committed
add styles to workspace header
1 parent e2a675f commit 76e1e55

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

bun.lockb

263 KB
Binary file not shown.

src/components/ControlPlanes/ControlPlaneCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function ControlPlaneCard({ controlPlane, workspace, projectName }: Props
3535

3636
return (
3737
<>
38-
<Card key={`${name}--${namespace}`}>
38+
<Card style={{ margin: "12px 12px 12px 0" }} key={`${name}--${namespace}`}>
3939
<div style={{ padding: "20px" }}>
4040
<FlexBox direction="Column">
4141
<FlexBox direction="Row" justifyContent="SpaceBetween">

src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,14 @@ export function ControlPlaneListWorkspaceGridTile({ projectName, workspace }: Pr
7777
>
7878
<Panel
7979
headerLevel="H2"
80+
style={{ margin: "12px 12px 12px 0" }}
8081
collapsed={controlplanes?.length === 0}
8182
header={
8283
<div
8384
style={{
8485
width: "100%",
8586
display: "grid",
86-
gridTemplateColumns: "1fr 1fr 1fr auto",
87+
gridTemplateColumns: "0.3fr 0.24fr auto 0.05fr",
8788
gap: "1rem",
8889
alignItems: "center",
8990
}}

src/components/ControlPlanes/List/MembersAvatarView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export function MembersAvatarView({ members, project, workspace }: Props) {
2929
}
3030

3131
return (
32-
<div style={{ maxWidth: "300px" }}>
33-
<AvatarGroup type={AvatarGroupType.Group} onClick={handleOnClick} ref={openerRef}>
32+
<div style={{display: "flex", justifyContent: "flex-end"}}>
33+
<AvatarGroup style={{maxWidth:"200px"}} type={AvatarGroupType.Group} onClick={handleOnClick} ref={openerRef}>
3434
{avatars}
3535
</AvatarGroup>
3636
<Popover

0 commit comments

Comments
 (0)