# HG changeset patch
# Parent f30fd66a438ce77f9ad54fcb778e35c769fa6e74
Move the download icon in the ''Size'' column, after the size information.

diff --git a/trac/htdocs/css/browser.css b/trac/htdocs/css/browser.css
--- a/trac/htdocs/css/browser.css
+++ b/trac/htdocs/css/browser.css
@@ -63,6 +63,9 @@ table.dirlist td.size {
  vertical-align: middle;
  font-size: 70%;
 }
+table.dirlist td.size a.trac-rawlink {
+ margin-left: .3em;
+}
 table.dirlist td.age {
  border-width: 0 2px 0 0;
  border-style: solid;
diff --git a/trac/versioncontrol/templates/dir_entries.html b/trac/versioncontrol/templates/dir_entries.html
--- a/trac/versioncontrol/templates/dir_entries.html
+++ b/trac/versioncontrol/templates/dir_entries.html
@@ -10,12 +10,12 @@
         <td class="name">
           <a class="$entry.kind" title="${entry.kind == 'dir' and _('View Directory') or _('View File')}"
              href="${href.browser(reponame, entry.path, rev=stickyrev, 
-                                  order=(order != 'name' and order or None), desc=desc)}">$entry.name</a><a
-             py:if="entry.raw_href" class="trac-rawlink" href="$entry.raw_href"
-             title="${entry.kind == 'dir' and _('Download as Zip archive') or _('Download')}"></a>
+                                  order=(order != 'name' and order or None), desc=desc)}">$entry.name</a>
         </td>
         <td class="size">
-          <span title="${_('%(size)s bytes', size=entry.content_length)}">${pretty_size(entry.content_length)}</span>
+          <span title="${_('%(size)s bytes', size=entry.content_length)}">${pretty_size(entry.content_length)
+            }</span><a py:if="entry.raw_href" class="trac-rawlink" href="$entry.raw_href"
+                       title="${entry.kind == 'dir' and _('Download as Zip archive') or _('Download')}"></a>
         </td>
         <td class="rev">
           <a title="View Revision Log" href="${href.log(reponame, entry.path, rev=rev)}">${display_rev(entry.rev)}</a>

