Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #10869 from luixxiul/polish-tabs-styles
Browse files Browse the repository at this point in the history
Fix the issue that the title of unloaded tabs shift down
  • Loading branch information
NejcZdovc authored Sep 14, 2017
2 parents 5e2cfb3 + d51b4c4 commit 5d4251c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/styles/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const styles = StyleSheet.create({

// globalStyles.spacing.tabHeight has been set to globalStyles.spacing.tabsToolbarHeight,
// which is 1px extra due to the border-top of .tabsToolbar
height: '-webkit-fill-available',
height: `calc(${globalStyles.spacing.tabsToolbarHeight} - 1px)`,

':hover': {
background: 'linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(250, 250, 250, 0.4))'
Expand Down

0 comments on commit 5d4251c

Please sign in to comment.