From 61b303831f47f934e5f48eddbfe8b12ad6395793 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 1 Feb 2021 21:13:31 -0800 Subject: [PATCH] fix: Document history sidebar layout issue --- app/components/DocumentHistory/DocumentHistory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/DocumentHistory/DocumentHistory.js b/app/components/DocumentHistory/DocumentHistory.js index 03f488f9b..1f1e6e243 100644 --- a/app/components/DocumentHistory/DocumentHistory.js +++ b/app/components/DocumentHistory/DocumentHistory.js @@ -156,7 +156,7 @@ const Wrapper = styled(Flex)` top: 0; right: 0; z-index: 1; - min-width: ${(props) => props.theme.sidebarWidth}; + min-width: ${(props) => props.theme.sidebarWidth}px; height: 100%; overflow-y: auto; overscroll-behavior: none; @@ -165,7 +165,7 @@ const Wrapper = styled(Flex)` const Sidebar = styled(Flex)` display: none; background: ${(props) => props.theme.background}; - min-width: ${(props) => props.theme.sidebarWidth}; + min-width: ${(props) => props.theme.sidebarWidth}px; border-left: 1px solid ${(props) => props.theme.divider}; z-index: 1;