From 608923c4454f367fa5c7bd6f0fcdc68355423c54 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Fri, 21 Apr 2017 11:38:32 +0800 Subject: [PATCH] MDL-58586 css: add margin to userpictures Boost has a right margin on the userpicture but this is missing in bootstrapbase (it is added only on random pages). Add a margin to bootstrapbase so it matches boost. --- theme/bootstrapbase/less/moodle/core.less | 4 +++- theme/bootstrapbase/style/moodle.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/theme/bootstrapbase/less/moodle/core.less b/theme/bootstrapbase/less/moodle/core.less index b3267fedb42..916902efea3 100644 --- a/theme/bootstrapbase/less/moodle/core.less +++ b/theme/bootstrapbase/less/moodle/core.less @@ -225,6 +225,9 @@ a.autolink.glossary:hover { .pagingbar .thispage { font-weight: bold; } +img.userpicture { + margin-right: 5px; +} img.resize { height: 1em; width: 1em; @@ -559,7 +562,6 @@ a.skip:active { } .notepost .userpicture { float: left; - margin-right: 5px; } .notepost .content, .notepost .footer { diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index aaec798bba6..a7a1f8d2d97 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -195,6 +195,9 @@ a.autolink.glossary:hover { .pagingbar .thispage { font-weight: bold; } +img.userpicture { + margin-right: 5px; +} img.resize { height: 1em; width: 1em; @@ -518,7 +521,6 @@ a.skip:active { } .notepost .userpicture { float: left; - margin-right: 5px; } .notepost .content, .notepost .footer {