Patchwork paper: minor adjustments to table styles

login
register
mail settings
Submitter Anton Shestakov
Date Dec. 21, 2017, 2:45 p.m.
Message ID <cdf339ec88f4264c40d3.1513867535@neuro>
Download mbox | patch
Permalink /patch/26376/
State Accepted
Headers show

Comments

Anton Shestakov - Dec. 21, 2017, 2:45 p.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1513863320 -28800
#      Thu Dec 21 21:35:20 2017 +0800
# Node ID cdf339ec88f4264c40d3613912f49988001ebc32
# Parent  4273260ac0d6e9bcb293607c7bdc16d0d246e6e9
# EXP-Topic hgweb-more-info
paper: minor adjustments to table styles

Adding a bit of padding to table columns on e.g. /log means content and headers
are better aligned: headers already have this padding.

Right margin is removed from #changesetEntry th because elements with display:
table-cell (such as <th>) ignore margins anyway.
Augie Fackler - Dec. 21, 2017, 6:22 p.m.
> On Dec 21, 2017, at 9:45 AM, Anton Shestakov <av6@dwimlabs.net> wrote:
> 
> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1513863320 -28800
> #      Thu Dec 21 21:35:20 2017 +0800
> # Node ID cdf339ec88f4264c40d3613912f49988001ebc32
> # Parent  4273260ac0d6e9bcb293607c7bdc16d0d246e6e9
> # EXP-Topic hgweb-more-info
> paper: minor adjustments to table styles

queued, thanks

Patch

diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css
+++ b/mercurial/templates/static/style-paper.css
@@ -213,6 +213,7 @@  h3 {
 }
 
 .bigtable td {
+  padding: 1px 4px;
   vertical-align: top;
 }
 
@@ -431,7 +432,6 @@  span.followlines-select .btn-followlines
   text-align: right;
   font-weight: normal;
   color: #999;
-  margin-right: .5em;
   vertical-align: top;
 }