Skip to content
Snippets Groups Projects
Commit 6f3d15b3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1216950 by aspilicious, rupl: clean up the CSS for block module.

parent 43b53cfb
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
File moved
......@@ -9,7 +9,7 @@
* Menu callback for admin/structure/block/demo.
*/
function block_admin_demo($theme = NULL) {
drupal_add_css(drupal_get_path('module', 'block') . '/block.css');
drupal_add_css(drupal_get_path('module', 'block') . '/block.admin.css');
return '';
}
......@@ -77,7 +77,7 @@ function block_admin_display_prepare_blocks($theme) {
*/
function block_admin_display_form($form, &$form_state, $blocks, $theme, $block_regions = NULL) {
drupal_add_css(drupal_get_path('module', 'block') . '/block.css');
drupal_add_css(drupal_get_path('module', 'block') . '/block.admin.css');
// Get a list of block regions if one was not provided.
if (!isset($block_regions)) {
......
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