mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-56209 question: Fix icon sizing issues apparent in Boost
This commit is contained in:
parent
6261200f98
commit
a5e92a4183
@ -36,7 +36,7 @@ abstract class action_column_base extends column_base {
|
||||
protected function print_icon($icon, $title, $url) {
|
||||
global $OUTPUT;
|
||||
echo '<a title="' . $title . '" href="' . $url . '">
|
||||
<img src="' . $OUTPUT->pix_url($icon) . '" class="iconsmall" alt="' . $title . '" /></a>';
|
||||
<img src="' . $OUTPUT->pix_url($icon) . '" class="iconsmall icon" alt="' . $title . '" /></a>';
|
||||
}
|
||||
|
||||
public function get_required_fields() {
|
||||
|
@ -165,6 +165,13 @@
|
||||
|
||||
.iconcol {
|
||||
padding: 3px;
|
||||
box-sizing: content-box;
|
||||
|
||||
.icon {
|
||||
margin: 0;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
|
Loading…
x
Reference in New Issue
Block a user