MDL-60700 calendar: remove bottom margin for description in summary
authorRyan Wyllie <ryan@moodle.com>
Tue, 7 Nov 2017 06:03:01 +0000 (06:03 +0000)
committerRyan Wyllie <ryan@moodle.com>
Tue, 7 Nov 2017 06:03:01 +0000 (06:03 +0000)
calendar/templates/event_summary_body.mustache
theme/boost/scss/moodle/calendar.scss
theme/bootstrapbase/less/moodle/calendar.less
theme/bootstrapbase/style/moodle.css
theme/bootstrapbase/templates/core_calendar/event_summary_body.mustache

index f176f9e..5aa9f72 100644 (file)
@@ -29,6 +29,7 @@
     }
 }}
 <div{{!
+    }} class="summary-modal-container"{{!
     }} data-region="summary-modal-container"{{!
     }} data-event-id="{{id}}"{{!
     }} data-event-title="{{name}}"{{!
@@ -49,7 +50,7 @@
         {{#description}}
         <div class="row m-t-1">
             <div class="col-xs-1">{{#pix}} i/calendareventdescription, core, {{#str}} description {{/str}} {{/pix}}</div>
-            <div class="col-xs-11">{{{.}}}</div>
+            <div class="description-content col-xs-11">{{{.}}}</div>
         </div>
         {{/description}}
         {{#isactionevent}}
index 3e3cb04..74c9ba3 100644 (file)
@@ -417,3 +417,11 @@ table.calendartable caption {
         display: block;
     }
 }
+
+.summary-modal-container {
+    .description-content {
+        > p {
+            margin: 0;
+        }
+    }
+}
index 387623d..a201ecc 100644 (file)
 .calendarwrapper {
     position: relative;
 }
+
+.summary-modal-container {
+    .description-content {
+        > p {
+            margin: 0;
+        }
+    }
+}
index 433f706..f08b7c6 100644 (file)
@@ -5908,6 +5908,9 @@ img.iconsmall {
 .calendarwrapper {
   position: relative;
 }
+.summary-modal-container .description-content > p {
+  margin: 0;
+}
 /* course.less */
 /* COURSE CONTENT */
 /* stylelint-disable unit-blacklist */
index bcb3c56..589c3bb 100644 (file)
@@ -29,6 +29,7 @@
     }
 }}
 <div{{!
+    }} class="summary-modal-container"{{!
     }} data-region="summary-modal-container"{{!
     }} data-event-id="{{id}}"{{!
     }} data-event-title="{{name}}"{{!
@@ -49,7 +50,7 @@
         {{#description}}
         <div class="row-fluid m-t-1">
             <div class="span1">{{#pix}} i/calendareventdescription, core, {{#str}} description {{/str}} {{/pix}}</div>
-            <div class="span11">{{{.}}}</div>
+            <div class="description-content span11">{{{.}}}</div>
         </div>
         {{/description}}
         {{#iscategoryevent}}