Skip to content

Commit

Permalink
ui: add line-height: 1.5 to text translation
Browse files Browse the repository at this point in the history
  • Loading branch information
plateaukao committed Sep 23, 2024
1 parent acf0140 commit 44294e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ open class NinjaWebView(
//console.log("Element ID:", elementId, "Response string:", responseString);
node = document.getElementById(elementId).nextElementSibling;
node.textContent = responseString;
node.style = "border: 1px dashed lightgray; padding: 5px; display: inline-block"
node.style = "border: 1px dashed lightgray; padding: 5px; display: inline-block; line-height: 1.5;"
}
// Create a new IntersectionObserver object
Expand Down

0 comments on commit 44294e8

Please sign in to comment.