From 1f9f8d9c860d9178cc4f4689329e15a6b40d0137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Fri, 18 Jan 2008 16:23:57 +0000
Subject: [PATCH] #210936 by Pancho: some padding around taxonomy descriptions
 on taxonomy pages, so that they get more breathing space

---
 modules/taxonomy/taxonomy.css       | 5 ++++-
 modules/taxonomy/taxonomy.pages.inc | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/taxonomy/taxonomy.css b/modules/taxonomy/taxonomy.css
index 483f1ca7b461..6840374413d1 100644
--- a/modules/taxonomy/taxonomy.css
+++ b/modules/taxonomy/taxonomy.css
@@ -6,4 +6,7 @@ tr.taxonomy-term-divider-top {
 }
 tr.taxonomy-term-divider-bottom {
   border-top: 1px dotted #CCC;
-}
\ No newline at end of file
+}
+.taxonomy-term-description {
+  margin: 5px 0 20px;
+}
diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc
index 401ac18228fd..fdc2b09d38a1 100644
--- a/modules/taxonomy/taxonomy.pages.inc
+++ b/modules/taxonomy/taxonomy.pages.inc
@@ -86,6 +86,8 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') {
  * @ingroup themeable
  */
 function theme_taxonomy_term_page($tids, $result) {
+  drupal_add_css(drupal_get_path('module', 'taxonomy') .'/taxonomy.css');
+
   $output = '';
 
   // Only display the description if we have a single term, to avoid clutter and confusion.
-- 
GitLab