Monorepo for Tangled tangled.org

hide commit-log on smaller screens

Changed files
+9 -6
appview
pages
templates
repo
+6 -6
appview/pages/templates/repo/index.html
··· 3 {{ define "repoContent" }} 4 <main> 5 {{ block "branchSelector" . }} {{ end }} 6 - <div class="flex gap-2"> 7 {{ block "fileTree" . }} {{ end }} 8 {{ block "commitLog" . }} {{ end }} 9 </div> ··· 57 {{ end }} 58 59 {{ define "fileTree" }} 60 - <div id="file-tree" class="w-3/5 pr-2 border-r border-gray-200"> 61 {{ $containerstyle := "py-1" }} 62 {{ $linkstyle := "no-underline hover:underline" }} 63 ··· 115 116 117 {{ define "commitLog" }} 118 - <div id="commit-log" class="flex-1"> 119 {{ range .Commits }} 120 <div class="relative px-2 pb-8"> 121 <div id="commit-message"> ··· 174 class="inline-block px-1 select-none after:content-['·']" 175 ></div> 176 <span>{{ timeFmt .Author.When }}</span> 177 - <div 178 - class="inline-block px-1 select-none after:content-['·']" 179 - ></div> 180 {{ $tagsForCommit := index $.TagMap .Hash.String }} 181 {{ range $tagsForCommit }} 182 <span class="text-xs rounded-full bg-gray-700 text-white px-2 mx-1/2 inline-flex items-center"> 183 {{ . }} 184 </span>
··· 3 {{ define "repoContent" }} 4 <main> 5 {{ block "branchSelector" . }} {{ end }} 6 + <div class="grid grid-cols-1 md:grid-cols-2 gap-2"> 7 {{ block "fileTree" . }} {{ end }} 8 {{ block "commitLog" . }} {{ end }} 9 </div> ··· 57 {{ end }} 58 59 {{ define "fileTree" }} 60 + <div id="file-tree" class="col-span-1 pr-2 md:border-r md:border-gray-200"> 61 {{ $containerstyle := "py-1" }} 62 {{ $linkstyle := "no-underline hover:underline" }} 63 ··· 115 116 117 {{ define "commitLog" }} 118 + <div id="commit-log" class="hidden md:block md:col-span-1"> 119 {{ range .Commits }} 120 <div class="relative px-2 pb-8"> 121 <div id="commit-message"> ··· 174 class="inline-block px-1 select-none after:content-['·']" 175 ></div> 176 <span>{{ timeFmt .Author.When }}</span> 177 {{ $tagsForCommit := index $.TagMap .Hash.String }} 178 {{ range $tagsForCommit }} 179 + <div 180 + class="inline-block px-1 select-none after:content-['·']" 181 + ></div> 182 <span class="text-xs rounded-full bg-gray-700 text-white px-2 mx-1/2 inline-flex items-center"> 183 {{ . }} 184 </span>
+3
input.css
··· 128 textarea { 129 @apply bg-white border border-black rounded-sm focus:ring-black p-2; 130 } 131 } 132 133 @layer components {
··· 128 textarea { 129 @apply bg-white border border-black rounded-sm focus:ring-black p-2; 130 } 131 + details summary::-webkit-details-marker { 132 + display: none; 133 + } 134 } 135 136 @layer components {