diff --git a/templates/analytics/ad_hoc_query.html b/templates/analytics/ad_hoc_query.html
index 1417d301b9..9e85172151 100644
--- a/templates/analytics/ad_hoc_query.html
+++ b/templates/analytics/ad_hoc_query.html
@@ -1,7 +1,7 @@
{{ data.title }}
{{ data.rows|length}} rows
-
+
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 533c3057f6..5e3abf3fa5 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -24,6 +24,35 @@ td.number {
text-align: right;
}
+.summary-table,
+.analytics_table {
+ border: 1px solid hsl(0deg 0% 87%);
+ border-collapse: separate;
+ border-left: 0;
+ border-radius: 4px;
+
+ & th,
+ td {
+ border-left: 1px solid hsl(0deg 0% 87%);
+ }
+
+ thead tr:first-child > th:first-child {
+ border-top-left-radius: 4px;
+ }
+
+ thead tr:first-child > th:last-child {
+ border-top-right-radius: 4px;
+ }
+
+ tbody tr:last-child > td:first-child {
+ border-bottom-left-radius: 4px;
+ }
+
+ tbody tr:last-child > td:last-child {
+ border-bottom-right-radius: 4px;
+ }
+}
+
.summary-table {
width: auto;
margin: 0 auto;
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index d1e758e183..aed5391fa5 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -1242,6 +1242,34 @@ label.label-title {
#devtools-page {
max-width: 800px;
margin: 0 auto;
+
+ .table-bordered {
+ border: 1px solid hsl(0deg 0% 87%);
+ border-collapse: separate;
+ border-left: 0;
+ border-radius: 4px;
+
+ & th,
+ td {
+ border-left: 1px solid hsl(0deg 0% 87%);
+ }
+
+ thead tr:first-child > th:first-child {
+ border-top-left-radius: 4px;
+ }
+
+ thead tr:first-child > th:last-child {
+ border-top-right-radius: 4px;
+ }
+
+ tbody tr:last-child > td:first-child {
+ border-bottom-left-radius: 4px;
+ }
+
+ tbody tr:last-child > td:last-child {
+ border-bottom-right-radius: 4px;
+ }
+ }
}
.portico-page.error {