MDL-62373 tool_dataprivacy: Get rid of profile's contact dpo left-margin
authorDavid Monllao <davidm@moodle.com>
Thu, 10 May 2018 08:18:10 +0000 (10:18 +0200)
committerDavid Monllao <davidm@moodle.com>
Thu, 10 May 2018 08:18:10 +0000 (10:18 +0200)
admin/tool/dataprivacy/classes/output/renderer.php
admin/tool/dataprivacy/styles.css

index 3199777..09bcb1c 100644 (file)
@@ -62,7 +62,8 @@ class renderer extends plugin_renderer_base {
     public function render_contact_dpo_link($replytoemail) {
         $params = [
             'data-action' => 'contactdpo',
-            'data-replytoemail' => $replytoemail
+            'data-replytoemail' => $replytoemail,
+            'class' => 'contactdpo'
         ];
         return html_writer::link('#', get_string('contactdataprotectionofficer', 'tool_dataprivacy'), $params);
     }
index bff49a7..eb9f1d3 100644 (file)
     height: 70vh;
     overflow-y: scroll;
 }
+
+dd a.contactdpo {
+    /* Reverting dd's left margin */
+    margin-left: -10px;
+}
+
+.card dd a.contactdpo {
+    /* Reverting dd's left margin */
+    margin-left: inherit;
+}