diff --git a/src/components/guide-tool/GuideToolView.scss b/src/components/guide-tool/GuideToolView.scss index 2b7d0b34..8dfc02ac 100644 --- a/src/components/guide-tool/GuideToolView.scss +++ b/src/components/guide-tool/GuideToolView.scss @@ -20,23 +20,23 @@ .chat-messages { height: 200px; - + .message-avatar { position: relative; overflow: hidden; width: 50px; height: 50px; - + .avatar-image { position: absolute; margin-left: -22px; margin-top: -25px; } } - + .messages-group-left { position: relative; - + &:before { position: absolute; content: ' '; @@ -49,10 +49,10 @@ left: -8px; } } - + .messages-group-right { position: relative; - + &:before { position: absolute; content: ' '; @@ -78,5 +78,10 @@ resize: none; outline: none; line-height: 17px; - } + } + + .text-underline + { + text-decoration: underline; + } } diff --git a/src/components/guide-tool/views/GuideToolOngoingView.tsx b/src/components/guide-tool/views/GuideToolOngoingView.tsx index 080de332..66f6101a 100644 --- a/src/components/guide-tool/views/GuideToolOngoingView.tsx +++ b/src/components/guide-tool/views/GuideToolOngoingView.tsx @@ -76,7 +76,7 @@ export const GuideToolOngoingView: FC = props => { isGuide && - + } { !isGuide && @@ -100,7 +100,7 @@ export const GuideToolOngoingView: FC = props => { (isOwnChat(group.userId)) && GetSessionDataManager().userName } { (!isOwnChat(group.userId)) && userName } - { group.messages.map((chat, index) => { chat.message }) } + { group.messages.map((chat, index) => chat.roomId ? TryVisitRoom(chat.roomId) : null }>{ chat.message }) } { (isOwnChat(group.userId)) &&