Skip to content

Commit

Permalink
Merge pull request #1599 from storybooks/tree-visual-adjusments
Browse files Browse the repository at this point in the history
Tree view visual adjustments
  • Loading branch information
ndelangen authored Aug 10, 2017
2 parents f21210a + c859985 commit 1e2855c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ exports[`Storyshots Cells/Molecules/Atoms.more with text2 1`] = `
</button>
`;

exports[`Storyshots Centered Button with text 1`] = `
exports[`Storyshots Some really long story kind description with text 1`] = `
<div
style={
Object {
Expand Down
2 changes: 1 addition & 1 deletion examples/cra-kitchen-sink/src/stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ storiesOf('Button', module)

storiesOf('App', module).add('full app', () => <App />);

storiesOf('Centered Button', module)
storiesOf('Some really long story kind description', module)
.addDecorator(centered)
.add('with text', () => <Button onClick={action('clicked')}>Hello Button</Button>);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ export default {
zIndex: 1,
},
activeLink: {
color: 'inherit',
fontWeight: 'bold',
backgroundColor: '#EEE',
zIndex: 0,
},
nativeLink: {
color: 'inherit',
marginLeft: '5px',
color: '#828282',
textDecoration: 'none',
},
toggle: {
Expand All @@ -42,16 +44,18 @@ export default {
marginLeft: '-5px',
height: '24px',
width: toggleWidth,
transformOrigin: '50% 11px',
},
wrapper: {
position: 'absolute',
top: '50%',
left: '50%',
margin: '-12px 0 0 -4px',
margin: '-6px 0 0 -5px',
},
height: 10,
width: 10,
arrow: {
verticalAlign: 'top',
fill: '#9DA5AB',
},
},
Expand All @@ -71,11 +75,13 @@ export default {
left: '-21px',
},
title: {
lineHeight: '24px',
verticalAlign: 'middle',
lineHeight: '18px',
padding: '1px 0 5px',
},
storyTitle: {
fontSize: '13px',
lineHeight: '16px',
padding: '1px 0 4px',
},
highLightText: {
backgroundColor: '#FFFEAA',
Expand Down

0 comments on commit 1e2855c

Please sign in to comment.