#210936 by Pancho: some padding around taxonomy descriptions on taxonomy pages, so that they get more breathing space

6.x
Gábor Hojtsy 2008-01-18 16:23:57 +00:00
parent 5d43caf221
commit 1f9f8d9c86
2 changed files with 6 additions and 1 deletions

View File

@ -7,3 +7,6 @@ tr.taxonomy-term-divider-top {
tr.taxonomy-term-divider-bottom {
border-top: 1px dotted #CCC;
}
.taxonomy-term-description {
margin: 5px 0 20px;
}

View File

@ -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.