mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
Merge "Special Search: Improve the search layout and search preview widths on tablets"
This commit is contained in:
commit
161bf3ce7d
|
@ -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",
|
||||
|
|
15
skinStyles/mediawiki.special.search.interwikiwidget.less
Normal file
15
skinStyles/mediawiki.special.search.interwikiwidget.less
Normal 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 )';
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue