diff --git a/root/static/js/cpan.js b/root/static/js/cpan.js
index e57758802b1..8634db39e7a 100644
--- a/root/static/js/cpan.js
+++ b/root/static/js/cpan.js
@@ -299,7 +299,7 @@ $(document).ready(function() {
$('.dropdown-toggle').dropdown();
function format_index(index) {
- index.wrap('
');
+ index.wrap('');
var container = index.parent().parent();
var index_hidden = MetaCPAN.storage.getItem('hideTOC') == 1;
diff --git a/root/static/less/pod.less b/root/static/less/pod.less
index e2968681077..b93ad6cd9c3 100644
--- a/root/static/less/pod.less
+++ b/root/static/less/pod.less
@@ -101,10 +101,11 @@ ul#index, #index ul {
}
#index-container {
- margin-left: 50px;
+ margin-bottom: 40px;
- @media (min-width: 0) and (max-width: @screen-md-max) {
- .responsive-invisibility();
+ @media (min-width: @screen-md-max) {
+ float: right;
+ margin-left: 50px;
}
overflow-y: hidden;