mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-05 02:59:00 +00:00
4a4f8f279e
Ieebc40073eb3d0c8a56ebc8aec3f060199943ddc lowers the breakpoint at which search will break into 2 columns (search + interwiki), in large part because the 2nd column will also be occupied by Extension:SearchVue's side panel. On mobile, Extension:SearchVue presents differently (directly below a search result), so there's not as much need for a 2nd column this early - wider search results are prefered. Bug: T321377 Change-Id: I22c46cfad2e054be679d79cce9b8d1ae04e3c6f1
38 lines
966 B
Plaintext
38 lines
966 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.mw-search-createlink,
|
|
.mw-search-profile-tabs {
|
|
display: none;
|
|
}
|
|
|
|
.mw-search-results-container,
|
|
.mw-search-results-info {
|
|
width: 100%;
|
|
}
|
|
|
|
@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;
|
|
}
|