Truncate page titles and URLs in search results

Implements: https://todo.sr.ht/~sircmpwn/searchhut/25
This commit is contained in:
Umar Getagazov 2022-07-11 19:55:51 +07:00 committed by Drew DeVault
parent 2971603710
commit 72649f0f0e

View file

@ -209,11 +209,17 @@ ol {
.result .title a {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.result .url {
display: block;
color: #444;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
@media (prefers-color-scheme: dark) {