MDL-62373 tool_dataprivacy: Get rid of profile's contact dpo left-margin

This commit is contained in:
David Monllao
2018-05-10 10:18:10 +02:00
parent 91037dfb29
commit 7258bf0bcf
2 changed files with 12 additions and 1 deletions
@@ -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);
}
+10
View File
@@ -12,3 +12,13 @@
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;
}