Skip to content

Commit

Permalink
updating the comments for reasoning of using css attribute instead of…
Browse files Browse the repository at this point in the history
… a css property
  • Loading branch information
OvidijusParsiunas committed Aug 25, 2024
1 parent 918be23 commit 097b6ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions component/src/views/chat/input/textInput/textInput.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
}

[contenteditable]:empty:before {
/* Has to be an attribute to be accessed by contenteditable pseusod element and pseudo classes */
content: attr(deep-chat-placeholder-text);
pointer-events: none;
}
Expand Down

0 comments on commit 097b6ba

Please sign in to comment.