CSS for facet labels
This commit is contained in:
parent
393ce2501c
commit
20b3ff0cd4
@ -16,7 +16,7 @@ provider: null
|
||||
plugin: 'facet_block:created'
|
||||
settings:
|
||||
id: 'facet_block:created'
|
||||
label: ''
|
||||
label: 'Created Date'
|
||||
provider: facets
|
||||
label_display: visible
|
||||
block_id: facet_created
|
||||
|
4
modules/opencase_reporting/css/opencase-reporting.css
Normal file
4
modules/opencase_reporting/css/opencase-reporting.css
Normal file
@ -0,0 +1,4 @@
|
||||
.facet-item label {
|
||||
display: inline;
|
||||
padding-left: 5px;
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
opencase-reporting-lib:
|
||||
version: 1.x
|
||||
css:
|
||||
theme:
|
||||
css/opencase-reporting.css: {}
|
@ -23,6 +23,15 @@ function opencase_reporting_help($route_name, RouteMatchInterface $route_match)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_page_attachments
|
||||
*
|
||||
* Add the opencase library to every page
|
||||
*/
|
||||
function opencase_reporting_page_attachments(array &$page) {
|
||||
$page['#attached']['library'][] = 'opencase_reporting/opencase-reporting-lib';
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
* Removes configs.
|
||||
|
Reference in New Issue
Block a user