Commit 8d0c699

Eric Bower  ·  2023-08-18 21:44:11 -0400 EDT
parent 3e208c9
design: code page ux
2 files changed,  +11, -2
+2, -2
......@@ -7,14 +7,14 @@
77 <div>
88 {{range .Tree}}
99 <div class="flex justify-between items-center gap my-sm border-b">
10- <div class="flex-1">
10+ <div class="flex-1 tree-path">
1111 <a href="{{.URL}}">{{.Path}}</a>
1212 </div>
1313
1414 <div class="flex items-center gap">
1515 {{if $.Repo.HideTreeLastCommit}}
1616 {{else}}
17- <div class="flex-1">
17+ <div class="flex-1 tree-commit">
1818 <a href="{{.CommitURL}}" title="{{.Summary}}">{{.When}}</a>
1919 </div>
2020 {{end}}
+9, -0
......@@ -361,6 +361,11 @@ figure {
361361
362362 .tree-size {
363363 width: 60px;
364+ text-align: right;
365+}
366+
367+.tree-path {
368+ text-wrap: wrap;
364369 }
365370
366371 @media only screen and (max-width: 900px) {
......@@ -371,4 +376,8 @@ figure {
371376 header {
372377 margin: 0;
373378 }
379+
380+ .tree-commit {
381+ display: none;
382+ }
374383 }