mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38: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',
|
position: 'relative',
|
||||||
WebkitUserSelect: 'none',
|
WebkitUserSelect: 'none',
|
||||||
WebkitAppRegion: isMac ? 'drag' : '',
|
WebkitAppRegion: isMac ? 'drag' : '',
|
||||||
top: isMac ? '' : '34px'
|
top: isMac ? '0px' : '34px'
|
||||||
},
|
},
|
||||||
|
|
||||||
hiddenNav: {
|
hiddenNav: {
|
||||||
|
|
@ -84,7 +84,12 @@ export default class Tabs extends Component {
|
||||||
|
|
||||||
title: {
|
title: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
color: '#fff'
|
color: '#fff',
|
||||||
|
overflow: 'hidden',
|
||||||
|
textOverflow: 'ellipsis',
|
||||||
|
whiteSpace: 'nowrap',
|
||||||
|
paddingLeft: 76,
|
||||||
|
paddingRight: 76
|
||||||
},
|
},
|
||||||
|
|
||||||
list: {
|
list: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue