Skip to content

Commit

Permalink
fix(frontend/controller): truncate translations after 2 lines (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed May 15, 2020
1 parent 3ecac0e commit 9be3c2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/frontend/src/Controller/Search.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
color: var(--controller-search-match-color);
}

.search .result .secondary .translation {
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.search .result .citation {
opacity: 0.55;
font-style: italic;
Expand Down

0 comments on commit 9be3c2b

Please sign in to comment.