Make layout more compact
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
.archive-tree-block details,
|
||||||
|
.archive-tree-block .archive-tree-year,
|
||||||
|
.archive-tree-block details > summary.archive-tree-year {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
.archive-tree-year {
|
.archive-tree-year {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ class ArchiveTreeBlock extends BlockBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'#markup' => $output,
|
'#markup' => '<div class="archive-tree-block">' . $output . '</div>',
|
||||||
'#allowed_tags' => ['details', 'summary', 'a', 'div'],
|
'#allowed_tags' => ['details', 'summary', 'a', 'div'],
|
||||||
'#attached' => [
|
'#attached' => [
|
||||||
'library' => [
|
'library' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user