Feature/map styling (#34)

* Improve map styling

* Make button dark
This commit is contained in:
Misode
2019-12-20 22:57:51 +01:00
committed by GitHub
parent b5e16b4f9c
commit 40f14ef84f
2 changed files with 30 additions and 0 deletions
+1
View File
@@ -270,6 +270,7 @@ function generateMap(data, struct) {
$header.append('<button type="button" class="btn btn-danger mb-2 float-right" onclick="removeFromMap(this)" data-i18n="' + struct.translate + '_remove"></button>');
$item.prepend($header);
} else {
$item.addClass("ml-3");
$item.append('<div class="input-group-append"><button class="btn btn-outline-danger bg-light" type="button" onclick="removeFromMap(this)" data-i18n="remove"></button></div>');
}
out[field.id] = outValue;