From 15ffc1ac91aebb90764a79ba1dd0d9d2a6cdf674 Mon Sep 17 00:00:00 2001 From: Phil Kuang Date: Wed, 19 May 2021 17:45:00 -0400 Subject: [PATCH] fix(shortcuts): prevent horizontal scrollbar Signed-off-by: Phil Kuang --- .changeset/brave-brooms-warn.md | 5 +++++ plugins/shortcuts/src/Shortcuts.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/brave-brooms-warn.md diff --git a/.changeset/brave-brooms-warn.md b/.changeset/brave-brooms-warn.md new file mode 100644 index 0000000000..6620ecd8b2 --- /dev/null +++ b/.changeset/brave-brooms-warn.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-shortcuts': patch +--- + +Fix horizontal scroll bar appearance issue diff --git a/plugins/shortcuts/src/Shortcuts.tsx b/plugins/shortcuts/src/Shortcuts.tsx index 2c49245e76..2e94497380 100644 --- a/plugins/shortcuts/src/Shortcuts.tsx +++ b/plugins/shortcuts/src/Shortcuts.tsx @@ -26,7 +26,7 @@ import { shortcutsApiRef } from './api'; const useStyles = makeStyles({ root: { flex: '1 1 auto', - overflow: 'scroll', + overflowY: 'scroll', }, });