Skip to content

Commit 4009575

Browse files
committed
fix(item): inherit overflow and text-overflow from the parent item in a paragraph
1 parent b1b7bb8 commit 4009575

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/components/item/item.ios.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ $item-ios-sliding-content-background: $list-ios-background-color !default;
6262
}
6363

6464
p {
65+
overflow: inherit;
66+
6567
margin: 0 0 2px;
6668

6769
font-size: 1.2rem;
6870
line-height: normal;
71+
text-overflow: inherit;
6972
color: $item-ios-paragraph-text-color;
7073
}
7174

src/components/item/item.md.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,13 @@ $item-md-sliding-content-background: $list-md-background-color !default;
6565
}
6666

6767
p {
68+
overflow: inherit;
69+
6870
margin: 0 0 2px;
6971

7072
font-size: 1.4rem;
7173
line-height: normal;
74+
text-overflow: inherit;
7275
color: $item-md-paragraph-text-color;
7376
}
7477
}

src/components/item/item.wp.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@ $item-wp-sliding-content-background: $list-wp-background-color !default;
6666
}
6767

6868
p {
69+
overflow: inherit;
70+
6971
margin: 0 0 2px;
7072

7173
font-size: 1.4rem;
7274
line-height: normal;
75+
text-overflow: inherit;
7376
color: $item-wp-paragraph-text-color;
7477
}
7578
}

0 commit comments

Comments
 (0)