From 08e094c15220813ea5b7d0211226099d0fa4cf60 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 17 Jul 2025 11:28:26 +0200 Subject: [PATCH] catalog: eager info column scroll Signed-off-by: Patrik Oldsberg --- .changeset/orange-poems-report.md | 5 +++++ plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/orange-poems-report.md diff --git a/.changeset/orange-poems-report.md b/.changeset/orange-poems-report.md new file mode 100644 index 0000000000..e93a7e8209 --- /dev/null +++ b/.changeset/orange-poems-report.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': patch +--- + +Adjusted the sticky scrolling of the new entity layout so that the info columns scrolls to the bottom more eagerly. diff --git a/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx b/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx index 21276f424a..a2be72bcdb 100644 --- a/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx +++ b/plugins/catalog/src/alpha/DefaultEntityContentLayout.tsx @@ -79,7 +79,8 @@ const useStyles = makeStyles< infoArea: { gridArea: 'info', position: 'sticky', - top: theme.spacing(3), + bottom: theme.spacing(3), + alignSelf: 'end', marginLeft: theme.spacing(3), }, contentArea: {