Break up words to prevent thumbnails from being squished

Bug: T321362
Change-Id: I9d649873145738808fa5a8456df4272c14e42d6a
This commit is contained in:
Matthias Mullie 2022-10-21 11:45:37 +02:00
parent 5f7918c14f
commit a0555ee377

View file

@ -18,6 +18,13 @@
display: none;
}
// some of the content is extremely long and trying to keep
// as much as possible on 1 line causes breaking other
// parts (notably: thumbnails end up being squished)
.searchResultImage-text {
word-break: break-word;
}
// override ul padding-left defined in lists.less, which isn't
// meant to affect the search results list
.content ul.mw-search-results {