summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGuilherme Salgado <guilherme.salgado@linaro.org>2011-06-09 16:47:29 -0300
committerGuilherme Salgado <guilherme.salgado@linaro.org>2011-06-09 16:47:29 -0300
commit8dd0ce0d2a39d2f1541cc722bfff076a43ff603b (patch)
tree577aded8f4a824940c461bb5cc54991e0a779cbf /templates
parent121f607adaf8abd1f2d62e8fcffd44a2182515e4 (diff)
Fix the multi-column in the front page to make sure it doesn't get screwed up when the content between the two columns is not balanced
Diffstat (limited to 'templates')
-rw-r--r--templates/patchmetrics/frontpage.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/patchmetrics/frontpage.html b/templates/patchmetrics/frontpage.html
index 47ef019..31515b5 100644
--- a/templates/patchmetrics/frontpage.html
+++ b/templates/patchmetrics/frontpage.html
@@ -39,7 +39,10 @@ older than 30 days.</p>
common questions.</p>
<div class="twocol">
- <div style="line-height: 2" class="break-after">
+ <!-- Force a minimun height for our divs or else they will all be
+ constrained by the height of the smaller one (this is a courtesy of
+ CSS3's multi-col thing). -->
+ <div style="line-height: 2; min-height: 20em" class="break-after">
<h3>Stats per project</h3>
{% for p in projects %}
<a href="{% url patchwork.views.project.project project_id=p.linkname %}"
@@ -48,7 +51,7 @@ common questions.</p>
{% endfor %}
</div>
- <div style="line-height: 2">
+ <div style="line-height: 2; min-height: 20em">
<h3>Stats per team</h3>
{% for team in teams %}
<a href="{% url patchmetrics.views.team team_id=team.name %}"