mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38:41 -09:00
fix tab text alignment issue (#1543)
This commit is contained in:
parent
fe6e2977bd
commit
368a426b01
1 changed files with 2 additions and 3 deletions
|
|
@ -142,14 +142,13 @@ export default class Tab extends Component {
|
||||||
|
|
||||||
textInner: {
|
textInner: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: 0,
|
left: '24px',
|
||||||
right: 0,
|
right: '24px',
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
padding: '0 25px',
|
|
||||||
overflow: 'hidden'
|
overflow: 'hidden'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue