diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 8c2102b744..8cbb522f29 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -8,18 +8,15 @@
{{- $title = .Data.Plural | humanize }}
{{- end }}
{{ $title }}
-
{{- $lastCapital := "" }}
{{- range .Data.Terms.Alphabetical }}
{{- $capital := substr .Page.Title 0 1 | upper }}
{{- if ne $lastCapital $capital }}
{{- if ne $lastCapital "" }}
-
-
+
{{- end }}
-
-
{{ $capital }}
-
+{{ $capital }}
+
{{- end }}
{{- $c:=""}}{{/* display terms of a taxonomy */}}
{{- $len := 0 }}
@@ -30,15 +27,13 @@
{{- end }}
{{- end }}
{{- if $len }}
- - {{ .Page.Title }} ({{ $len }})
+ - {{ .Page.Title }} ({{ $len }})
{{- end }}
{{- $lastCapital = $capital }}
{{- end }}
{{- if ne $lastCapital "" }}
-
-
+
{{- end }}
-
diff --git a/static/css/theme.css b/static/css/theme.css
index 62d391e186..9eca6f1c28 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -1760,15 +1760,6 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
transform: scaleX(-1);
}
-.tax-container {
- display: flex;
- flex-wrap: wrap;
-}
-
-.tax-box {
- width: 18rem;
-}
-
.columnize{
column-count: 2;
}
diff --git a/static/js/theme.js b/static/js/theme.js
index a5e057fcaa..8c6a7ec880 100644
--- a/static/js/theme.js
+++ b/static/js/theme.js
@@ -428,7 +428,7 @@ function initOpenapi( update, attrs ){
}
function initAnchorClipboard(){
- document.querySelectorAll( 'h1~h2,h1~h3,h1~h4,h1~h5,h1~h6,.tax-container h2,.tax-container h3,.tax-container h4,.tax-container h5,.tax-container h6').forEach( function( element ){
+ document.querySelectorAll( 'h1~h2,h1~h3,h1~h4,h1~h5,h1~h6').forEach( function( element ){
var url = encodeURI( (document.location.origin == "null" ? (document.location.protocol + "//" + document.location.host) : document.location.origin )+ document.location.pathname);
var link = url + "#" + element.id;
var new_element = document.createElement( 'span' );