blocks MDL-24999 Fixed up regression in the display of block_list type blocks. Columns now site next to each other rather than below.
This commit is contained in:
@@ -694,6 +694,13 @@ class block_list extends block_base {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
function html_attributes() {
|
||||
$attributes = parent::html_attributes();
|
||||
$attributes['class'] .= ' list_block';
|
||||
return $attributes;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
.block .footer {margin-bottom: 4px;}
|
||||
.block .blockannotation {font-size:0.75em;margin: -1em 0 1em;}
|
||||
|
||||
/** block_list blocks need column stuffs **/
|
||||
.block.list_block .unlist > li > .column {display:inline-block;}
|
||||
.ie6 .block.list_block .unlist .column {display:inline;}
|
||||
|
||||
.block.beingmoved {border-width: 2px;border-style: dashed;}
|
||||
.blockmovetarget {display: block;height: 1em;margin-bottom: 1em;border-width: 2px;border-style: dashed;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user