diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html
index d23d6b3..abd1a15 100644
--- a/powerdnsadmin/templates/base.html
+++ b/powerdnsadmin/templates/base.html
@@ -26,9 +26,9 @@
/* Global Styles */
table.records thead th, table.records tbody td { text-align: center; vertical-align: middle; }
table.records thead th:last-of-type { width: 50px; }
- div.table-responsive > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
- div.table-responsive > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
- div.table-responsive > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
+ div.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
+ div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
+ div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
{% block head_styles %}{% endblock %}
{% endblock %}
diff --git a/powerdnsadmin/templates/dashboard.html b/powerdnsadmin/templates/dashboard.html
index 993d196..3ed9ee5 100755
--- a/powerdnsadmin/templates/dashboard.html
+++ b/powerdnsadmin/templates/dashboard.html
@@ -29,7 +29,7 @@