mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Visual adjusment for stories tree
This commit is contained in:
parent
cac540158a
commit
e24d28eeba
@ -26,12 +26,13 @@ export default {
|
||||
zIndex: 1,
|
||||
},
|
||||
activeLink: {
|
||||
color: 'inherit',
|
||||
fontWeight: 'bold',
|
||||
backgroundColor: '#EEE',
|
||||
zIndex: 0,
|
||||
},
|
||||
nativeLink: {
|
||||
color: 'inherit',
|
||||
color: '#1E88E5',
|
||||
textDecoration: 'none',
|
||||
},
|
||||
toggle: {
|
||||
@ -47,11 +48,12 @@ export default {
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
left: '50%',
|
||||
margin: '-12px 0 0 -4px',
|
||||
margin: '-5px 0 0 -5px',
|
||||
},
|
||||
height: 10,
|
||||
width: 10,
|
||||
arrow: {
|
||||
verticalAlign: 'top',
|
||||
fill: '#9DA5AB',
|
||||
},
|
||||
},
|
||||
@ -60,6 +62,7 @@ export default {
|
||||
display: 'inline-block',
|
||||
verticalAlign: 'top',
|
||||
maxWidth: `calc(100% - ${toggleWidth})`,
|
||||
paddingBottom: '2px',
|
||||
},
|
||||
connector: {
|
||||
width: '2px',
|
||||
@ -71,7 +74,7 @@ export default {
|
||||
left: '-21px',
|
||||
},
|
||||
title: {
|
||||
lineHeight: '24px',
|
||||
lineHeight: '22px',
|
||||
verticalAlign: 'middle',
|
||||
},
|
||||
storyTitle: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user