You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Snippet Title: Course overview block on Dashboard with proper borders
3
+
* Scope: global
4
+
* Goal: bugfix
5
+
* Description: If you place the 'Course overview' block on the Dashboard, you will see that it is not presented equally to other blocks on the Dashboard. It lacks borders and it has a surplus line below the heading. This snippet fixes this glitch and presents the course overview block similar to the other Dashboard blocks.
6
+
* Creator: Alexander Bias
7
+
* Tracker issue: MDL-85944
8
+
* Tested on: Moodle 5.0, Firefox for Mac
9
+
*
10
+
* @copyright 2025 Alexander Bias, ssystems GmbH
11
+
* @author Alexander Bias <abias@ssystems.de>
12
+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
13
+
*/
14
+
15
+
#page-my-index.block_myoverview {
16
+
/* On the Dashboard, Moodle core removes the block's border with:
17
+
.drawers .block_myoverview { border: 0; }
18
+
We cannot revert that with CSS, but we can re-set the original value. */
0 commit comments