diff --git a/public/custom-style.css b/public/custom-style.css index b14f1fc..10cc2b8 100644 --- a/public/custom-style.css +++ b/public/custom-style.css @@ -93,3 +93,10 @@ details:not([open]) > summary.ui.top.attached.header:hover { .ui.labeled.button > .label { padding: .78571429em 1.5em .78571429em; /* same padding as the button */ } + + +.clearfix::after { + content: " "; + display: table; + clear: both; +} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 7a5d844..2b14cfd 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -9,7 +9,7 @@ {{ $collapseList := and .ReadmeExist (not .HasParentPath)}}
-

+

{{if $collapseList}}Contents of{{end}} {{ $n := len .TreeNames}} {{ $l := Subtract $n 1}} @@ -34,7 +34,7 @@

- +
{{if .HasParentPath}}