Skip to content

Commit a9d4f95

Browse files
committed
refine style
1 parent 1a7368d commit a9d4f95

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/lib/common/LiveChatEntry.svelte

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929
</script>
3030

31-
<div class="fixed-bottom float-bottom-right">
31+
<div class="chatbot-container fixed-bottom float-bottom-right">
3232
<iframe
3333
src={chatUrl}
3434
width={`${$chatBotStore.showChatBox ? '380px' : '0px'}`}
@@ -39,7 +39,10 @@
3939
/>
4040

4141
{#if !$chatBotStore.showChatBox}
42-
<div class="mb-3 float-end wave-effect" transition:fade={{ delay: 50, duration: 200 }}>
42+
<div
43+
class="chatbot-icon mb-3 float-end wave-effect"
44+
transition:fade={{ delay: 50, duration: 200 }}
45+
>
4346
<button class="btn btn-transparent" on:click={() => openChatBox()}>
4447
<img alt="live chat" class="avatar-md rounded-circle" src={PUBLIC_LIVECHAT_ENTRY_ICON} />
4548
</button>
@@ -78,4 +81,14 @@
7881
margin-right: 0px;
7982
margin-left: auto;
8083
}
84+
85+
.chatbot-container {
86+
display: flex;
87+
flex-direction: column;
88+
}
89+
90+
.chatbot-icon {
91+
display: flex;
92+
justify-content: flex-end;
93+
}
8194
</style>

0 commit comments

Comments
 (0)