Skip to content

Commit

Permalink
add underline boarder to highlighted token
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccrear committed Mar 6, 2024
1 parent 87edbf2 commit 6578a96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/css/partials/board.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ input#message:focus {

.highlight-token {
color: #b44f47;
border-bottom: solid #b44f47 1px;
}

.encoded-token {
Expand Down
2 changes: 1 addition & 1 deletion app/write-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function setupDisplay(encodedMessageWithSpaces) {
const encodedLetter = convertDigits(internalCode, INTERNAL_DIGITS, DIGITS);
elms.push(`<span
class="encoded-token"
data-code="${internalCode}"> ${encodedLetter} <span class="code-popup"><span class="code-popup-letter">${message[i]}:</span> ${encodedLetter}</span></span>`);
data-code="${internalCode}">${encodedLetter}<span class="code-popup"><span class="code-popup-letter">${message[i]}:</span> ${encodedLetter}</span></span> `);
}
$("#code").html(elms.join(""));
}
Expand Down

0 comments on commit 6578a96

Please sign in to comment.