Skip to content

Commit

Permalink
feat(LineSeparator): change default height to auto
Browse files Browse the repository at this point in the history
Change default height of vertical LineSeparator from 40px to auto.
Taking the height from content or context is better default behaviour
than a static value.
  • Loading branch information
Ilari Sinkkonen committed May 30, 2017
1 parent 37e3092 commit 0323bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LineSeparator.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';
import { greyLight } from './defaultTheme';

const VerticalLineSeparator = styled.div`
height: ${props => props.len || '40px'};
height: ${props => props.len || 'auto'};
width: 1px;
margin: 0px ${props => props.separation || '16px'};
background-color: ${greyLight};
Expand Down

0 comments on commit 0323bb1

Please sign in to comment.