mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	This PR adds RTL support to the web widget for improved right-to-left language compatibility, updates colors, and cleans up code. Fixes https://linear.app/chatwoot/issue/CW-4089/rtl-issues-on-widget https://github.com/chatwoot/chatwoot/issues/9791 Other PR: https://github.com/chatwoot/chatwoot/pull/11016
		
			
				
	
	
		
			31 lines
		
	
	
		
			716 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			716 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<script>
 | 
						|
export default {
 | 
						|
  name: 'AgentTypingBubble',
 | 
						|
};
 | 
						|
</script>
 | 
						|
 | 
						|
<template>
 | 
						|
  <div class="agent-message-wrap sticky bottom-1">
 | 
						|
    <div class="agent-message">
 | 
						|
      <div class="avatar-wrap" />
 | 
						|
      <div class="message-wrap mt-2">
 | 
						|
        <div
 | 
						|
          class="chat-bubble agent typing-bubble bg-n-background dark:bg-n-solid-3"
 | 
						|
        >
 | 
						|
          <img
 | 
						|
            src="assets/images/typing.gif"
 | 
						|
            alt="Agent is typing a message"
 | 
						|
            class="!w-full"
 | 
						|
          />
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
</template>
 | 
						|
 | 
						|
<style lang="scss" scoped>
 | 
						|
.typing-bubble {
 | 
						|
  @apply max-w-[2.4rem] p-2 ltr:rounded-bl-[1.25rem] rtl:rounded-br-[1.25rem] ltr:rounded-tl-lg rtl:rounded-tr-lg;
 | 
						|
}
 | 
						|
</style>
 |