Skip to content

Commit

Permalink
Update text_modal.js
Browse files Browse the repository at this point in the history
Added suggestion from #bugs in Discord
  • Loading branch information
mhvejs authored Sep 5, 2024
1 parent bc5a8a0 commit 210ca26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions native/js/text_modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ textArea.style.border = "2px solid #666"; // Add a default border color
textArea.style.borderRadius = "4px"; // Rounded corners
textArea.style.resize = "none"; // Prevent resizing
textArea.style.boxShadow = "0 0 5px rgba(255, 255, 255, 0.3)"; // Subtle shadow for unfocused state
textArea.onclick = "this.select()"; // Mark everything on click for easy save text copy

// Add hover effect for the textarea
textArea.addEventListener('mouseover', function() {
Expand Down

0 comments on commit 210ca26

Please sign in to comment.