diff --git a/layouts/partials/table.html b/layouts/partials/table.html
new file mode 100644
index 0000000..4d6f17c
--- /dev/null
+++ b/layouts/partials/table.html
@@ -0,0 +1,120 @@
+
diff --git a/layouts/shortcodes/table.html b/layouts/shortcodes/table.html
index 9cddf0f..d18114f 100644
--- a/layouts/shortcodes/table.html
+++ b/layouts/shortcodes/table.html
@@ -1,63 +1,8 @@
+{{ partial "table.html" }}
+
diff --git a/static/css/tables.css b/static/css/tables.css
index 7958db4..39a0e0c 100644
--- a/static/css/tables.css
+++ b/static/css/tables.css
@@ -1,5 +1,5 @@
/* Tables */
-#jsonTableContainer {
+.jsonTableContainer {
display: flex;
overflow-y: auto;
}
@@ -49,3 +49,10 @@ tr:nth-child(odd) {
background-color: var(--table-odd-row-bg-color);
font-size: var(--table-row-font-size);
}
+tr:hover {
+ background-color: #f5f5f5;
+}
+
+tr.selected {
+ background-color: #d1ecf1;
+}