[gnome-web-www] FoG list of previous donors with a consistent multicolumn support



commit bc2e5065610697f007f156e849a646773cb7db3a
Author: Arpita Raj Gupta <arpita iiit gmail com>
Date:   Thu Nov 14 16:28:16 2013 +0530

    FoG list of previous donors with a consistent multicolumn support
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699007
    
    Signed-off-by: Andreas Nilsson <anilsson redhat com>

 theme/page-previous-donors.php |    4 ++--
 theme/style.css                |    7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/theme/page-previous-donors.php b/theme/page-previous-donors.php
index 512dd0e..52dd0c4 100644
--- a/theme/page-previous-donors.php
+++ b/theme/page-previous-donors.php
@@ -61,8 +61,8 @@ require_once("header.php"); ?>
                         $level_count = count($donor_array);
                         if ($level_count > 1) { // The count behaves weirdly for me. Always +1.
                             echo "<h4>$fname_dispname_map[$level]</h4>\n";
-                            echo '<ul style="list-style-type: disc;">'."\n";
-                            foreach ($donor_array as $donor_line) {
+                            echo '<ul class="col-3">'."\n";
+                            foreach ($donor_array as $donor_line) {
                                 $donor = trim($donor_line, "\x00..\x20");
                                 if (strlen($donor) > 0)
                                     echo "  <li>".htmlspecialchars($donor)."</li>\n";
diff --git a/theme/style.css b/theme/style.css
index 618e958..b6868dd 100644
--- a/theme/style.css
+++ b/theme/style.css
@@ -1162,3 +1162,10 @@ hr.bottom_shadow {
 .crm-section {
     margin-bottom: 10px;
 }
+
+.col-3 {
+    list-style-type: disc;
+    columns: 3;
+    -webkit-columns: 3;
+    -moz-columns: 3;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]