mediawiki-skins-MinervaNeue/skinStyles/mediawiki.special.search.styles/minerva.less
Matthias Mullie a0555ee377 Break up words to prevent thumbnails from being squished
Bug: T321362
Change-Id: I9d649873145738808fa5a8456df4272c14e42d6a
2022-10-27 12:02:16 +02:00

33 lines
893 B
Plaintext

@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.mw-search-createlink,
.mw-search-profile-tabs {
display: none;
}
@media all and ( min-width: @width-breakpoint-tablet ) {
#search { // stylelint-disable-line selector-max-id
display: none;
}
}
// hide non-NS_FILE thumbnails until further notice
// @see https://phabricator.wikimedia.org/T306883#8205230
.mw-search-result:not( .mw-search-result-ns-6 ) .searchResultImage-thumbnail {
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 {
padding-left: 0;
}