From ea99cdd5f3e8033a2242ee84d923ff5ef5c21084 Mon Sep 17 00:00:00 2001 From: hypnos Date: Wed, 4 Oct 2017 01:24:04 +0300 Subject: [PATCH] Fix sidebar header wrapping --- lib/ui/src/modules/ui/components/left_panel/header.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ui/src/modules/ui/components/left_panel/header.js b/lib/ui/src/modules/ui/components/left_panel/header.js index a898bd03bb06..35a941ac8d84 100755 --- a/lib/ui/src/modules/ui/components/left_panel/header.js +++ b/lib/ui/src/modules/ui/components/left_panel/header.js @@ -6,7 +6,6 @@ const wrapperStyle = { background: '#F7F7F7', marginBottom: 10, display: 'flex', - height: 27, }; const headingStyle = { @@ -16,8 +15,9 @@ const headingStyle = { fontSize: '12px', fontWeight: 'bolder', color: '#828282', + textAlign: 'center', cursor: 'pointer', - padding: 0, + padding: '5px', margin: 0, overflow: 'hidden', }; @@ -37,6 +37,7 @@ const shortcutIconStyle = { backgroundColor: 'inherit', outline: 0, width: 30, + flexShrink: 0, }; const linkStyle = {