summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-18 16:23:57 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-18 16:23:57 +0000
commit1f9f8d9c860d9178cc4f4689329e15a6b40d0137 (patch)
tree13bfeadfa22fafa2a1a72eee8aa11fa543854725
parent5d43caf22146de5bcde97b2eb81c96da2e7afcc5 (diff)
downloadbrdo-1f9f8d9c860d9178cc4f4689329e15a6b40d0137.tar.gz
brdo-1f9f8d9c860d9178cc4f4689329e15a6b40d0137.tar.bz2
#210936 by Pancho: some padding around taxonomy descriptions on taxonomy pages, so that they get more breathing space
-rw-r--r--modules/taxonomy/taxonomy.css5
-rw-r--r--modules/taxonomy/taxonomy.pages.inc2
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.css b/modules/taxonomy/taxonomy.css
index 483f1ca7b..684037441 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 401ac1822..fdc2b09d3 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.