diff --git a/views/scan.ejs b/views/scan.ejs index 33b5d96..e769fcd 100644 --- a/views/scan.ejs +++ b/views/scan.ejs @@ -57,6 +57,16 @@ top: 0; width: 100%; } + + .items-table th:first-child, + .items-table td:first-child { + position: sticky; + left: 0; + } + + .items-table td:first-child { + background-color: white; + } @@ -383,7 +393,7 @@ } function renderItems(data) { - $('#actions-row').append(data.uniqueKeys.map(key => '' + key + '')) + $('#actions-row').append(data.uniqueKeys.map(key => '' + key + '')) if (data.Items.length) { $('#items-container').append(data.Items.map(item => { @@ -497,11 +507,11 @@
-
- - +
+
+ - +
ActionsActions