Merge "Special Search: Improve the search layout and search preview widths on tablets"

This commit is contained in:
jenkins-bot 2023-04-07 12:48:17 +00:00 committed by Gerrit Code Review
commit 161bf3ce7d
2 changed files with 16 additions and 0 deletions

View file

@ -443,6 +443,7 @@
"+mediawiki.notification": "skinStyles/mediawiki.notification.less",
"+oojs-ui-core.styles": "skinStyles/ooui.less",
"mediawiki.special": "skinStyles/mediawiki.special.less",
"mediawiki.special.search.interwikiwidget.styles": "skinStyles/mediawiki.special.search.interwikiwidget.less",
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
"+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less",
"+ext.uls.interface": "skinStyles/ext.uls.interface.less",

View file

@ -0,0 +1,15 @@
/**
* Adjusts column ratio of the search page when sidebar is closed
*/
@import '../resources/common/variables.less';
.vector-feature-main-menu-pinned-disabled .mw-searchresults-has-iw {
@media only screen and ( min-width: @width-breakpoint-desktop ) {
#mw-interwiki-results {
display: inline-block;
width: ~'calc( 100% / 12 * 3 )';
margin-left: ~'calc( 100% / 12 )';
margin-right: ~'calc( 100% / 12 )';
}
}
}