From 26a28bfd24fee41a1f870680c66826ea9f0d0218 Mon Sep 17 00:00:00 2001 From: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Date: Fri, 9 Dec 2022 14:58:59 -0600 Subject: [PATCH 1/3] Make ownership box all the same size Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> --- .../org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx index f996342454..940103382c 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx +++ b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx @@ -75,6 +75,7 @@ const EntityCountTile = ({ display="flex" flexDirection="column" alignItems="center" + style={{ height: '100%' }} > {counter} From 4395eac4d8b33b66360ef72b1159079a696ae527 Mon Sep 17 00:00:00 2001 From: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Date: Fri, 9 Dec 2022 15:02:27 -0600 Subject: [PATCH 2/3] Added changeset Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> --- .changeset/eighty-melons-walk.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/eighty-melons-walk.md diff --git a/.changeset/eighty-melons-walk.md b/.changeset/eighty-melons-walk.md new file mode 100644 index 0000000000..bf9ee2d78f --- /dev/null +++ b/.changeset/eighty-melons-walk.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-org': patch +--- + +Made all the ownership boxes the same size From 1d3fe791c19aef78b4d14709f2824e1794a80a9c Mon Sep 17 00:00:00 2001 From: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Date: Tue, 13 Dec 2022 13:33:40 -0600 Subject: [PATCH 3/3] Moved style to class Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> --- .../org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx index 940103382c..567c7ad3bc 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx +++ b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx @@ -42,6 +42,7 @@ const useStyles = makeStyles((theme: BackstageTheme) => '&:hover': { boxShadow: theme.shadows[4], }, + height: '100%', }, bold: { fontWeight: theme.typography.fontWeightBold, @@ -75,7 +76,6 @@ const EntityCountTile = ({ display="flex" flexDirection="column" alignItems="center" - style={{ height: '100%' }} > {counter}