diff --git a/js/src/ui/Container/Title/title.css b/js/src/ui/Container/Title/title.css index ee5cc58cd..60baacff1 100644 --- a/js/src/ui/Container/Title/title.css +++ b/js/src/ui/Container/Title/title.css @@ -16,9 +16,14 @@ */ .byline { color: #aaa; - text-overflow: ellipsis; - white-space: nowrap; overflow: hidden; + position: relative; + line-height: 1.2em; + max-height: 2.4em; + + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; } .title { diff --git a/js/src/ui/Container/Title/title.js b/js/src/ui/Container/Title/title.js index 0c0d0e6b3..03ba4be76 100644 --- a/js/src/ui/Container/Title/title.js +++ b/js/src/ui/Container/Title/title.js @@ -32,15 +32,17 @@ export default class Title extends Component { } render () { - const { className } = this.props; + const { className, title, byline } = this.props; return (