diff --git a/www/-/s/css_modules/mobile.css b/www/-/s/css_modules/mobile.css index ee550391..bdc96faa 100644 --- a/www/-/s/css_modules/mobile.css +++ b/www/-/s/css_modules/mobile.css @@ -52,6 +52,10 @@ h1[tabindex="0"].collapsible-heading > .indicator { .client-js .collapsible-heading .indicator { display: none !important; /* this is to hide to "v" icone next to titles in desktop */ } + .float-right { + float: right; + margin-left: 10px; + } } @media all and (max-width: 720px) { .mw-stack, .infobox, .vertical-navbox { diff --git a/www/js/lib/transformStyles.js b/www/js/lib/transformStyles.js index 1e11639e..87d142fb 100644 --- a/www/js/lib/transformStyles.js +++ b/www/js/lib/transformStyles.js @@ -165,7 +165,7 @@ define(['util', 'uiUtil'], function (util, uiUtil) { console.log(zim == "mobile" ? "Transforming display style to desktop..." : "Optimizing cached styles for desktop display..."); uiUtil.poll("mobile" ? "Transforming display style to desktop..." : "Optimizing cached styles for desktop display..."); //If it's in mobile position, move info-box above lead paragraph like on Wikipedia desktop - if (zim == "mobile") { //Actually, move the infobox anyway because the hatnote often gets in the way + if (zim == "mobile") { //Attempt to match div-style infobox first var tableBox = util.matchOuter(html, '