Remove -5px from SidebarScrollWrapper because it covers buttons and makes SidebarSubmenuItems hard to click
Signed-off-by: Mikael Östberg <mikael.ostberg@aurorainnovation.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Fix a spacing issue for the SidebarSubmenu in case a SidebarScrollWrapper is used that made it hard to reach the SidebarSubmenu
|
||||
@@ -701,8 +701,7 @@ export const SidebarScrollWrapper = styled('div')(({ theme }) => {
|
||||
return {
|
||||
flex: '0 1 auto',
|
||||
overflowX: 'hidden',
|
||||
// 5px space to the right of the scrollbar
|
||||
width: 'calc(100% - 5px)',
|
||||
width: '100%',
|
||||
// Display at least one item in the container
|
||||
// Question: Can this be a config/theme variable - if so, which? :/
|
||||
minHeight: '48px',
|
||||
|
||||
Reference in New Issue
Block a user