From adce9f1bb4200108973655cb1db5beb64f12f4d4 Mon Sep 17 00:00:00 2001 From: Benjamin Gudehus Date: Tue, 26 Mar 2019 00:08:49 +0100 Subject: [PATCH] (fix) Search icon and sidebar top border. --- core/docz-theme-default/src/components/shared/Logo/index.tsx | 2 ++ core/docz-theme-default/src/components/shared/Search/index.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/docz-theme-default/src/components/shared/Logo/index.tsx b/core/docz-theme-default/src/components/shared/Logo/index.tsx index 11b53407b..56b01890d 100644 --- a/core/docz-theme-default/src/components/shared/Logo/index.tsx +++ b/core/docz-theme-default/src/components/shared/Logo/index.tsx @@ -43,6 +43,8 @@ const Wrapper = styled.div` height: ${p => (p.showBg ? '3px' : 0)}; } } + + ${get('styles.logo')}; ` const LogoImg = styled('img')` diff --git a/core/docz-theme-default/src/components/shared/Search/index.tsx b/core/docz-theme-default/src/components/shared/Search/index.tsx index 0b994a6f1..06596234d 100644 --- a/core/docz-theme-default/src/components/shared/Search/index.tsx +++ b/core/docz-theme-default/src/components/shared/Search/index.tsx @@ -20,7 +20,7 @@ const Wrapper = styled.div` const Icon = styled(SearchIcon)` stroke: ${sidebarText}; - width: 20px; + min-width: 20px; opacity: 0.5; `