Skip to content

Commit

Permalink
update the empty comment sidebar copy (#4694)
Browse files Browse the repository at this point in the history
* update leave comments copy

* update css
  • Loading branch information
bkrmendy authored Jan 8, 2024
1 parent a96f258 commit bd49c7f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions editor/src/components/inspector/sections/comment-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,15 @@ const ThreadPreviews = React.memo(() => {
)}
{when(
sortedThreads.length === 0,
<div style={{ padding: 8, color: colorTheme.fg6.value }}>
Leave comments on the canvas.
<div
style={{
padding: 8,
color: colorTheme.fg6.value,
whiteSpace: 'normal',
overflowWrap: 'break-word',
}}
>
Use the commenting tool to leave comments on the canvas. They will also show up here.
</div>,
)}
{sortedThreads.map((thread) => (
Expand Down

0 comments on commit bd49c7f

Please sign in to comment.