From a2632d4968c3d0aa8b2a114431bc5583d85ccce7 Mon Sep 17 00:00:00 2001 From: Alexander Bias <alexander.bias@uni-ulm.de> Date: Wed, 18 Nov 2020 14:35:50 +0100 Subject: [PATCH] Bugfix: Fixed another regression when showing description border for restricted activities. --- CHANGES.md | 4 ++++ scss/post.scss | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8079c13..ec20795 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-theme_boost_campus Changes ------- +### Unreleased + +* 2020-11-18 - Bugfix: Fixed another regression when showing description border for restricted activities. + ### Release v3.9-r2 * 2020-11-17 - Bugfix: Dashboard columns did not collapse correctly when blockcolumnwidthdashboard != blockcolumnwidth. diff --git a/scss/post.scss b/scss/post.scss index 51a41a8..68d75c0 100644 --- a/scss/post.scss +++ b/scss/post.scss @@ -507,7 +507,7 @@ body.loginbackgroundimage #page { } /* Add border to description text for restricted activities and show it also to students. This is needed because the classes for teachers and students differ. */ - .section li:not(.label) .contentwithoutlink { + .section li:not(.label) .contentwithoutlink:not(:empty) { border-left: 2px solid $gray-light; padding-left: 10px; font-size: .9rem; -- GitLab