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

fix(component): adjust patternlist spacing #105

Merged
merged 2 commits into from
Dec 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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