File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11{{/* use grid layout, still use the old ID because there are many other CSS styles depending on this ID */}}
22<div id="repo-files-table" {{if .HasFilesWithoutLatestCommit}}hx-indicator="#repo-files-table .repo-file-cell.message" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}>
3- <div class="repo-file-line">
3+ <div class="repo-file-line repo-file-last-commit ">
44 <div class="latest-commit">{{template "repo/latest_commit" .}}</div>
55 <div>{{if and .LatestCommit .LatestCommit.Committer}}{{DateUtils.TimeSince .LatestCommit.Committer.When}}{{end}}</div>
66 </div>
Original file line number Diff line number Diff line change 11/* only used by "repo/empty.tmpl" */
22.clone-buttons-combo {
3+ display : flex;
4+ align-items : center;
35 flex : 1 ;
46}
57
68.clone-buttons-combo input {
79 border-left : none !important ;
810 border-radius : 0 !important ;
11+ height : 30px ;
912}
1013
1114/* used by the clone-panel popup */
Original file line number Diff line number Diff line change 4444 padding : 6px 10px ;
4545}
4646
47+ # repo-files-table .repo-file-last-commit {
48+ background : var (--color-box-header );
49+ }
50+
4751# repo-files-table .repo-file-cell .name {
4852 max-width : 300px ;
4953 white-space : nowrap;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import {displayError} from './common.ts';
33function targetElement ( el : Element ) {
44 // The target element is either the current element if it has the
55 // `is-loading` class or the pre that contains it
6- return el . classList . contains ( 'is-loading' ) ? el : el . closest ( 'pre' ) ;
6+ return el . classList . contains ( 'is-loading' ) ? el : ( el . closest ( 'pre' ) ?? el . closest ( 'code' ) ) ;
77}
88
99export async function renderMath ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments