Skip to content

Commit

Permalink
fix(item): inherit overflow and text-overflow from the parent item in…
Browse files Browse the repository at this point in the history
… a paragraph
  • Loading branch information
brandyscarney committed Jun 27, 2016
1 parent b1b7bb8 commit 4009575
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/item/item.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@ $item-ios-sliding-content-background: $list-ios-background-color !default;
}

p {
overflow: inherit;

margin: 0 0 2px;

font-size: 1.2rem;
line-height: normal;
text-overflow: inherit;
color: $item-ios-paragraph-text-color;
}

Expand Down
3 changes: 3 additions & 0 deletions src/components/item/item.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,13 @@ $item-md-sliding-content-background: $list-md-background-color !default;
}

p {
overflow: inherit;

margin: 0 0 2px;

font-size: 1.4rem;
line-height: normal;
text-overflow: inherit;
color: $item-md-paragraph-text-color;
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/components/item/item.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ $item-wp-sliding-content-background: $list-wp-background-color !default;
}

p {
overflow: inherit;

margin: 0 0 2px;

font-size: 1.4rem;
line-height: normal;
text-overflow: inherit;
color: $item-wp-paragraph-text-color;
}
}
Expand Down

0 comments on commit 4009575

Please sign in to comment.