From 00d80c7e4a1a2e10559aba0c0bdb609d19f5197a Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 19 Jul 2016 18:25:03 +0800 Subject: [PATCH] MDL-54687 core_message: decreased size of messaging area --- message/templates/contact.mustache | 4 ++-- message/templates/message_area.mustache | 4 ++-- theme/bootstrapbase/less/moodle/message.less | 6 +++--- theme/bootstrapbase/style/moodle.css | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/message/templates/contact.mustache b/message/templates/contact.mustache index 0b47aee1b7d..f34a782e13d 100644 --- a/message/templates/contact.mustache +++ b/message/templates/contact.mustache @@ -2,10 +2,10 @@
-
+
-
+
{{fullname}} {{#isonline}}*{{/isonline}}
{{#lastmessage}}

{{.}}

diff --git a/message/templates/message_area.mustache b/message/templates/message_area.mustache index 750c97eac5d..b538bfb01c7 100644 --- a/message/templates/message_area.mustache +++ b/message/templates/message_area.mustache @@ -15,12 +15,12 @@
-
+
{{#contacts}} {{> core_message/contacts }} {{/contacts}}
-
+
{{#messages}} {{> core_message/messages }} {{/messages}} diff --git a/theme/bootstrapbase/less/moodle/message.less b/theme/bootstrapbase/less/moodle/message.less index e3755901e24..a5a0db73368 100644 --- a/theme/bootstrapbase/less/moodle/message.less +++ b/theme/bootstrapbase/less/moodle/message.less @@ -66,7 +66,7 @@ .contacts-area { border-right: 1px solid black; - height: 800px; + height: 600px; .searcharea { padding: 5px; @@ -74,7 +74,7 @@ } .contacts { - height: 705px; + height: 505px; overflow-y: scroll; .contact.selected { @@ -157,7 +157,7 @@ } .messages { - height: 720px; + height: 520px; overflow-y: auto; .name { diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 6704ace6c82..58a1631ba67 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -5815,14 +5815,14 @@ a.ygtvspacer:hover { } .messaging-area .contacts-area { border-right: 1px solid black; - height: 800px; + height: 600px; } .messaging-area .contacts-area .searcharea { padding: 5px; text-align: center; } .messaging-area .contacts-area .contacts { - height: 705px; + height: 505px; overflow-y: scroll; } .messaging-area .contacts-area .contacts .contact.selected { @@ -5880,7 +5880,7 @@ a.ygtvspacer:hover { padding-top: 10px; } .messaging-area .messages-area .messages { - height: 720px; + height: 520px; overflow-y: auto; } .messaging-area .messages-area .messages .name {