From 70fda55e85fab89e418111ba95a3067622975689 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Fri, 14 Oct 2016 10:26:19 +0800 Subject: [PATCH] MDL-55074 theme_boost: Make dropdowns consistent Links in drop down menu items should fill the entire row and be displayed as normal text color (they are like buttons). --- theme/boost/scss/moodle/core.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 5f508791ba1..dc7c7b6e6eb 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2199,3 +2199,10 @@ $footer-link-color: $brand-primary !default; #page-footer a { color: $footer-link-color; } + +// Make links in a menu clickable anywhere in the row. +.dropdown-item a { + display: block; + width: 100%; + color: $body-color; +}