Skip to content
Snippets Groups Projects
Commit 1f9f8d9c authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#210936 by Pancho: some padding around taxonomy descriptions on taxonomy...

#210936 by Pancho: some padding around taxonomy descriptions on taxonomy pages, so that they get more breathing space
parent 5d43caf2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
}
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment