Skip to content

Commit

Permalink
prevent overflowing headers in search results (#7211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Oct 10, 2022
1 parent b556e0d commit 582f89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/kit.svelte.dev/src/lib/search/SearchResultList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
display: block;
white-space: nowrap;
line-height: 1;
overflow: hidden;
text-overflow: ellipsis;
}
a strong {
Expand All @@ -113,8 +115,6 @@
a span {
font-size: 1.2rem;
color: #737373;
overflow: hidden;
text-overflow: ellipsis;
margin: 0.4rem 0 0 0;
}
Expand Down

0 comments on commit 582f89f

Please sign in to comment.