From 336c57575bd4b72ae8d52fdc5b50faeeffe8dd56 Mon Sep 17 00:00:00 2001 From: Mary Evans Date: Sat, 28 Sep 2013 15:07:22 +0100 Subject: [PATCH] MDL-33569 themes: Labels create extra margin below content. --- theme/base/style/course.css | 5 +++++ theme/bootstrapbase/less/moodle/course.less | 3 +++ 2 files changed, 8 insertions(+) diff --git a/theme/base/style/course.css b/theme/base/style/course.css index 5d6f6fc68fb..c4909c5bf73 100644 --- a/theme/base/style/course.css +++ b/theme/base/style/course.css @@ -211,3 +211,8 @@ input.titleeditor { width: 330px; vertical-align: text-bottom; } .dndupload-progress-outer {width:70px;border:1px solid black;border-radius:4px;height:10px;display:inline-block;margin:0;padding:0;overflow:hidden;position:relative;} .dndupload-progress-inner {width:0%;height:100%;background-color:green;display:inline-block;margin:0;padding:0;float:left;box-shadow: 0 0 4px #229b15;border-radius:2px;background-repeat:repeat-x;background-position:top;background-image:url([[pix:theme_base|progress]])} .dndupload-hidden {display:none;} + +/* activity label */ +.modtype_label .no-overflow > p:last-child { + margin-bottom: 0; +} diff --git a/theme/bootstrapbase/less/moodle/course.less b/theme/bootstrapbase/less/moodle/course.less index 0876c5aae1a..52a64c73e18 100644 --- a/theme/bootstrapbase/less/moodle/course.less +++ b/theme/bootstrapbase/less/moodle/course.less @@ -72,6 +72,9 @@ font-weight: normal; padding: .2em; } +.modtype_label .no-overflow > p:last-child { + margin-bottom: 0; +} .section li.activity { padding: .2em; clear: both; -- 2.43.0