Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(component): adjust patternlist spacing (#105)
Browse files Browse the repository at this point in the history
* Update pattern_list.tsx

* feat(lsg): capitalize pattern label
  • Loading branch information
tilmx authored and markusoelhafen committed Dec 20, 2017
1 parent 5df49bc commit ed8d14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/container/pattern_list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class PatternListContainer extends React.Component<PatternListContainerPr
<Space sizeBottom={Size.XXS}>
<Input handleChange={this.handleSearchInputChange} placeholder="Search patterns" />
</Space>
<Space size={[Size.L, Size.XL]}>{list}</Space>
<Space size={[0, Size.L]}>{list}</Space>
</div>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/lsg/patterns/pattern-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const StyledPatternLabel = styled.div`
margin-top: ${getSpace(Size.L)}px;
margin-bottom: ${getSpace(Size.S)}px;
color: ${colors.grey60.toString()};
text-transform: capitalize;
&:first-of-type {
margin-top: ${getSpace(Size.S)}px;
Expand Down

0 comments on commit ed8d14e

Please sign in to comment.