From b37265de4ec8c12464f841750250edd70faef290 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 14 Apr 2017 00:12:12 +0900 Subject: [PATCH] Revert "Increase tabs bar height by 2px" --- app/renderer/components/styles/global.js | 4 ++-- app/renderer/components/styles/tab.js | 4 ++-- less/variables.less | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/renderer/components/styles/global.js b/app/renderer/components/styles/global.js index f3fff5fedbd..f1052b90b9e 100644 --- a/app/renderer/components/styles/global.js +++ b/app/renderer/components/styles/global.js @@ -109,12 +109,12 @@ const globalStyles = { navbarHeight: '36px', downloadsBarHeight: '50px', tabsToolbarHeight: '28px', - tabPagesHeight: '5px', + tabPagesHeight: '7px', bookmarksToolbarHeight: '24px', bookmarksToolbarWithFaviconsHeight: '24px', bookmarksFileIconSize: '13px', bookmarksFolderIconSize: '15px', - navbarMenubarMargin: '4px', + navbarMenubarMargin: '7px', navbarButtonSpacing: '4px', navbarButtonWidth: '20px', navbarBraveButtonWidth: '23px', diff --git a/app/renderer/components/styles/tab.js b/app/renderer/components/styles/tab.js index dc0474e7194..42b5408ddb4 100644 --- a/app/renderer/components/styles/tab.js +++ b/app/renderer/components/styles/tab.js @@ -18,7 +18,7 @@ const styles = StyleSheet.create({ boxSizing: 'border-box', color: '#5a5a5a', display: 'flex', - height: '26px', + height: '24px', marginTop: '0', transition: `transform 200ms ease, ${globalStyles.transition.tabBackgroundTransition}`, left: '0', @@ -94,7 +94,7 @@ const styles = StyleSheet.create({ active: { background: `rgba(255, 255, 255, 1.0)`, - height: '26px', + height: '24px', marginTop: '0', borderWidth: '0 1px 0 0', borderStyle: 'solid', diff --git a/less/variables.less b/less/variables.less index bafb3fa8169..4a1bc3952d3 100644 --- a/less/variables.less +++ b/less/variables.less @@ -81,14 +81,14 @@ @navbarHeight: 36px; @downloadsBarHeight: 60px; -@tabsToolbarHeight: 26px; -@tabPagesHeight: 5px; +@tabsToolbarHeight: 24px; +@tabPagesHeight: 7px; @bookmarksToolbarHeight: 24px; @bookmarksToolbarWithFaviconsHeight: 24px; @bookmarksFileIconSize: 13px; @bookmarksFolderIconSize: 15px; -@navbarMenubarMargin: 4px; +@navbarMenubarMargin: 7px; @navbarButtonSpacing: 4px; @navbarButtonWidth: 20px; @navbarBraveButtonWidth: 23px;