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 (

- { this.props.title } + { title }

- { this.props.byline } + + { byline } +
); diff --git a/js/src/views/Dapps/dapps.css b/js/src/views/Dapps/dapps.css index 46cb0e9d4..718641929 100644 --- a/js/src/views/Dapps/dapps.css +++ b/js/src/views/Dapps/dapps.css @@ -15,8 +15,8 @@ /* along with Parity. If not, see . */ .list { - display: flex; - flex-wrap: wrap; + column-count: 2; + column-gap: 0.25em; } .list+.list { @@ -24,17 +24,7 @@ } .item { - flex: 0 1 50%; - width: 50%; - position: relative; - box-sizing: border-box; - padding-bottom: 0.25em; -} - -.item:nth-child(odd) { - padding-right: 0.125em; -} - -.item:nth-child(even) { - padding-left: 0.125em; + display: inline-block; + margin: 0 0 0.25em; + width: 100%; }