Skip to content

Commit

Permalink
replacing html valign with css vertical-align (#2961)
Browse files Browse the repository at this point in the history
  • Loading branch information
Castella1313 authored Feb 4, 2020
1 parent 9b29bc2 commit 5ca7c76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openlibrary/templates/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ <h1><a href="$page.key">$name</a></h1>
<td class="number">$v.revision</td>
<td class="history"><a href="$page.get_url(v=v.revision)" title="$_('View revision %s', v.revision)">$datestr(v.created)</a></td>
$if v.author:
<td class="displayname" valign="top"><div class="truncatedisplayname"><a href="$homepath()$v.author.key" class="truncate" title="$v.author.displayname">$v.author.displayname</a></div></td>
<td class="displayname" style="vertical-align: top;"><div class="truncatedisplayname"><a href="$homepath()$v.author.key" class="truncate" title="$v.author.displayname">$v.author.displayname</a></div></td>
$elif v.ip and v.ip != '127.0.0.1':
<td class="history" valign="top"><a href="/recentchanges?ip=$v.ip">$v.ip</a></td>
<td class="history" style="vertical-align: top;"><a href="/recentchanges?ip=$v.ip">$v.ip</a></td>
$else:
<td class="history" valign="top">$v.ip</td>
<td class="history" style="vertical-align: top;">$v.ip</td>
<td class="comment">$:render_template("history/comment", v)</td>
<td class="compare" style="text-align:center;">
<input type="radio" id="a$v.revision" name="a" title="Compare this version..." value="$v.revision"/>
Expand Down

0 comments on commit 5ca7c76

Please sign in to comment.