Skip to content

Commit

Permalink
Merge pull request #121 from abirchall/list_wrap
Browse files Browse the repository at this point in the history
Allow list item contents to wrap.
  • Loading branch information
iamacup authored Oct 23, 2020
2 parents b860777 + ab607e1 commit 24e6315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ And some additional, less used options:
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
+ Facilisis in pretium nisl aliquet. This is a very long list item that will surely wrap onto the next line.
- Nulla volutpat aliquam velit
+ Very easy!
Ordered
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
2. Consectetur adipiscing elit. This is a very long list item that will surely wrap onto the next line.
3. Integer molestie lorem at massa
Start numbering with offset:
Expand Down Expand Up @@ -608,14 +608,14 @@ Lists
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
+ Facilisis in pretium nisl aliquet. This is a very long list item that will surely wrap onto the next line.
- Nulla volutpat aliquam velit
+ Very easy!
Ordered
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
2. Consectetur adipiscing elit. This is a very long list item that will surely wrap onto the next line.
3. Integer molestie lorem at massa
Start numbering with offset:
Expand Down
2 changes: 0 additions & 2 deletions src/lib/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const styles = {
// @pseudo class, does not have a unique render rule
bullet_list_content: {
flex: 1,
flexWrap: 'wrap',
},
// @pseudo class, does not have a unique render rule
ordered_list_icon: {
Expand All @@ -82,7 +81,6 @@ export const styles = {
// @pseudo class, does not have a unique render rule
ordered_list_content: {
flex: 1,
flexWrap: 'wrap',
},

// Code
Expand Down

0 comments on commit 24e6315

Please sign in to comment.