From fc684bce4b6de3aed3fc435994095abbaf0a2f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Fri, 19 May 2017 13:13:31 +0200 Subject: [PATCH] MDL-58766 css: clean theme block alignment --- theme/bootstrapbase/less/moodle/blocks.less | 9 +++++++++ theme/bootstrapbase/style/moodle.css | 3 +++ 2 files changed, 12 insertions(+) diff --git a/theme/bootstrapbase/less/moodle/blocks.less b/theme/bootstrapbase/less/moodle/blocks.less index c42131dba54..68c70daa83b 100644 --- a/theme/bootstrapbase/less/moodle/blocks.less +++ b/theme/bootstrapbase/less/moodle/blocks.less @@ -53,6 +53,15 @@ display: inline; } } + p { + &.hasicon { + img { + &.icon { + padding-right: 0; + } + } + } + } } .footer { margin-bottom: 4px; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index fa74dbd2c8a..d205064187f 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -15873,6 +15873,9 @@ body { margin-left: 5px; display: inline; } +.block .content p.hasicon img.icon { + padding-right: 0; +} .block .footer { margin-bottom: 4px; display: block;