Merge "Always show search results at full width"

This commit is contained in:
jenkins-bot 2022-12-16 08:46:59 +00:00 committed by Gerrit Code Review
commit 8011edcecb
3 changed files with 24 additions and 0 deletions

View file

@ -212,6 +212,9 @@
"mediawiki.special.search.styles": [
"skinStyles/mediawiki.special.search.styles/minerva.less"
],
"mediawiki.special.search.interwikiwidget.styles": [
"skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less"
],
"mediawiki.skinning.content.parsoid": [
"skinStyles/mediawiki.skinning.content.parsoid/minerva.less"
],

View file

@ -0,0 +1,16 @@
@import '../../minerva.less/minerva.variables.less';
.mw-searchresults-has-iw {
// stylelint-disable-next-line selector-max-id
#mw-interwiki-results {
margin-left: 0;
width: 100%;
}
.iw-resultset:nth-child( 1 ) {
.iw-result__header {
border-top: solid 1px #ccc;
padding-top: 12px;
}
}
}

View file

@ -6,6 +6,11 @@
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;