diff --git a/swh/web/assets/src/bundles/browse/swh-ids-utils.js b/swh/web/assets/src/bundles/browse/swh-ids-utils.js --- a/swh/web/assets/src/bundles/browse/swh-ids-utils.js +++ b/swh/web/assets/src/bundles/browse/swh-ids-utils.js @@ -85,7 +85,15 @@ } let tabSlideOptions = { - tabLocation: 'right' + tabLocation: 'right', + offset: function() { + const width = $(window).width(); + if (width < 768) { + return '250px'; + } else { + return '200px'; + } + } }; // ensure tab scrolling on small screens if (window.innerHeight < 600 || window.innerWidth < 500) {