From 4601d1306188f3d864406ed3788739aac0c5ac0d Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 21 Nov 2023 08:10:27 -0800 Subject: [PATCH] Center the companionArea expand/collapse toggle icon --- src/components/CompanionArea.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/CompanionArea.js b/src/components/CompanionArea.js index f1df3b45b..af2bd3c41 100644 --- a/src/components/CompanionArea.js +++ b/src/components/CompanionArea.js @@ -21,6 +21,7 @@ const StyledWrapper = styled('div')({ const StyledToggle = styled('div')(({ theme }) => ({ backgroundColor: theme.palette.background.paper, border: `1px solid ${theme.palette.mode === 'dark' ? theme.palette.divider : theme.palette.shades?.dark}`, + borderInlineStart: 0, borderRadius: 0, height: '48px', left: '100%', @@ -29,6 +30,8 @@ const StyledToggle = styled('div')(({ theme }) => ({ position: 'absolute', width: '23px', zIndex: theme.zIndex.drawer, + alignItems: 'center', + display: 'inline-flex' })); const StyledToggleButton = styled(MiradorMenuButton)({