mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(item): inherit overflow and text-overflow from the parent item in a paragraph
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user