Chatbot Avatar Attaches Itself to Collect Contacts Bubble

Hi @Max,

What was the intent of the feature you provided below? Attach an Avatar to every single chatbot response (including ‘Collect Contacts’)?

Please review and advise. We’re using the CSS rules noted below (modified to align the Avatar next to the top of the bubble).

Thank you!


/* Add Avatar to Chatbot Response Bubble and Align to Top */

.es-message-assistant {
  padding-left: 45px;
  box-sizing: border-box;
  position: relative;
}

.es-message-assistant:last-child::before {
  content: '';
  background: url('https://files.elfsightcdn.com/myicon'); // dummy URL
  position: absolute;
  left: 0;
  top: 4px;
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}