[damned-lies] Better use 2 columns, as names could be quite long
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Better use 2 columns, as names could be quite long
- Date: Tue, 2 Oct 2012 23:09:00 +0000 (UTC)
commit 5b34712fc04e6765068cba99b051d4caaab8cc17
Author: Gil Forcada <gforcada gnome org>
Date: Tue Oct 2 19:13:55 2012 +0200
Better use 2 columns, as names could be quite long
common/static/css/template.css | 10 +++++++---
templates/teams/team_list.html | 4 ++--
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/common/static/css/template.css b/common/static/css/template.css
index 34c8ba0..6a836c9 100644
--- a/common/static/css/template.css
+++ b/common/static/css/template.css
@@ -513,6 +513,10 @@ div.graphinline {
border-radius: 3px;
}
+.col2_column {
+ float: left;
+ width: 50%
+}
.col3_column {
float: left;
width: 33.3%
@@ -521,7 +525,7 @@ div.graphinline {
margin-top: 0;
list-style: none;
}
-.col3_column li{
+.col3_column li, .col2_column li {
border: 1px solid #ccc;
background: #fff;
padding: 4px 8px;
@@ -535,10 +539,10 @@ div.graphinline {
-webkit-border-radius: 3px;
border-radius: 3px;
}
-.col3_column li a{
+.col3_column li a, .col2_column li a {
text-decoration: none;
}
-.col3_column li a:hover{
+.col3_column li a:hover, .col2_column li a:hover {
text-decoration: underline;
}
diff --git a/templates/teams/team_list.html b/templates/teams/team_list.html
index b76a677..2aaf852 100644
--- a/templates/teams/team_list.html
+++ b/templates/teams/team_list.html
@@ -13,9 +13,9 @@
{% load list_to_columns %}
<div class="col3_container">
- {% list_to_columns teams as columns 3 %}
+ {% list_to_columns teams as columns 2 %}
{% for col in columns %}
- <div class="col3_column">
+ <div class="col2_column">
<ul>
{% for team in col %}
<li style="font-size: 120%;">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]