commit - 2faeb3c616089a458cbffa3a46b9a15c484f0e80
commit + 4ba8b606a0a1ebe0d9a9daf6909948315c313d36
blob - da2a3df486a9f9af27f183c0fc1096390dbc3027
blob + c6f473ced0d7b7454f210dfaa119b63cd96d2ba4
--- gotwebd/files/htdocs/gotwebd/gotweb.css
+++ gotwebd/files/htdocs/gotwebd/gotweb.css
width: 60px;
padding-right: 20px;
}
-.blob_code {
+.blame_code, .blob_code {
/* fixes the width of the first tab */
display: inline-block;
}
-.blame_number, .blame_hash, .blame_date, .blame_author, .blame_code {
- display: inline-block;
- vertical-align: middle;
-}
-.blame_wrapper:target, .blob_line:target {
+.blame_line:target, .blob_line:target {
background-color: Khaki;
}
.blame_number, .blob_number {
blob - 86d2ea107d890280aab7d4d736978e4921878c8e
blob + bac391d8a08e90c6c0b28bba4f935029591ab0c8
--- gotwebd/pages.tmpl
+++ gotwebd/pages.tmpl
if (s)
*s = '\0';
!}
-<div class="blame_wrapper">
- <div class="blame_number">{{ printf "%.*d", lprec, lcur }}</div>
- <div class="blame_hash">
+<div class="blame_line">
+ <span class="blame_number">{{ printf "%*d ", lprec, lcur }}</span>
+ <span class="blame_hash">
<a href="{{ render gotweb_render_url(c, &url) }}">
{{ printf "%.8s", bline->id_str }}
</a>
- </div>
- <div class="blame_date">{{ bline->datebuf }}</div>
- <div class="blame_author">{{ printf "%.9s", committer }}</div>
- <div class="blame_code">{{ line }}</div>
+ </span>
+ {{" "}}
+ <span class="blame_date">{{ bline->datebuf }}</span>
+ {{" "}}
+ <span class="blame_author">{{ printf "%.9s", committer }}</span>
+ {{" "}}
+ <span class="blame_code">{{ line }}</span>
</div>
{{ end }}