From b20c08049119ec0cd59b70f78131a3c9943282cf Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Sun, 24 Jun 2012 20:57:57 -0700 Subject: [PATCH] Fix clipping on compressed link vote arrows. --- r2/r2/public/static/css/reddit.css | 5 +++++ r2/r2/templates/link.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/r2/r2/public/static/css/reddit.css b/r2/r2/public/static/css/reddit.css index db137d573..224ee881f 100755 --- a/r2/r2/public/static/css/reddit.css +++ b/r2/r2/public/static/css/reddit.css @@ -645,6 +645,11 @@ ul.flat-vert {text-align: left;} overflow: hidden; } +.compressed .midcol { + width: 15px; + margin-right: 5px; +} + .entry { overflow: hidden; margin-left: 3px; diff --git a/r2/r2/templates/link.html b/r2/r2/templates/link.html index 1241b85d3..e63fc0484 100755 --- a/r2/r2/templates/link.html +++ b/r2/r2/templates/link.html @@ -187,7 +187,7 @@ ${parent.thing_data_attributes(what)} data-ups="${what.upvotes}" data-downs="${w <%def name="midcol(display=True, cls = '')"> %if thing.pref_compress: -