mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
fix single tab title (#2289)
* fix single tab title * fix single tab margin/padding
This commit is contained in:
parent
9e7bd76ef9
commit
8eb4541eea
1 changed files with 7 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ export default class Tabs extends Component {
|
|||
position: 'relative',
|
||||
WebkitUserSelect: 'none',
|
||||
WebkitAppRegion: isMac ? 'drag' : '',
|
||||
top: isMac ? '' : '34px'
|
||||
top: isMac ? '0px' : '34px'
|
||||
},
|
||||
|
||||
hiddenNav: {
|
||||
|
|
@ -84,7 +84,12 @@ export default class Tabs extends Component {
|
|||
|
||||
title: {
|
||||
textAlign: 'center',
|
||||
color: '#fff'
|
||||
color: '#fff',
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
whiteSpace: 'nowrap',
|
||||
paddingLeft: 76,
|
||||
paddingRight: 76
|
||||
},
|
||||
|
||||
list: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue