diff --git a/frontend/identities.html b/frontend/identities.html
index d94a5d2..2be9f5d 100755
--- a/frontend/identities.html
+++ b/frontend/identities.html
@@ -77,6 +77,7 @@ function loadFace(id) {
const row = document.createElement("div"),
left = document.createElement("div");
row.classList.add("editor-row");
+ left.classList.add("key");
left.textContent = key;
let right;
@@ -89,7 +90,7 @@ function loadFace(id) {
const distance = document.createElement("div"),
facePhoto = createFace(relation.faceId, relation.photoId, true);
distance.classList.add("distance");
- distance.textContent = face.distance.toFixed(2);
+ distance.textContent = relation.distance.toFixed(2);
facePhoto.appendChild(distance);
right.appendChild(facePhoto);
}
@@ -189,6 +190,7 @@ function createNewIdenityEditor() {
left = document.createElement("div"),
right = document.createElement("input");
row.classList.add("editor-row");
+ left.classList.add("key");
left.textContent = key;
row.appendChild(left);
row.appendChild(right);
@@ -309,7 +311,6 @@ body {
right: 0;
bottom: 0;
color: white;
- box-sizing: border-box;
}
.editor-row {
@@ -318,7 +319,7 @@ body {
padding: 0.25em 0.5em;
}
-.editor-row :first-child {
+.editor-row .key {
width: 10em;
}