File tree Expand file tree Collapse file tree 1 file changed +1
-33
lines changed
docs/.vuepress/components Expand file tree Collapse file tree 1 file changed +1
-33
lines changed Original file line number Diff line number Diff line change 4343 :class =" { fullscreen: isMobile, 'desktop-view': !isMobile }"
4444 >
4545 <div class =" chat-header" >
46- <div class =" header-content" >
47- <img
48- :src =" botOptions.botAvatarImg"
49- alt =" Bot icon"
50- class =" header-avatar"
51- />
52- <span class =" bot-title" >{{ botOptions.botTitle }}</span >
53- </div >
5446 <div class =" header-actions" >
5547 <button class =" close-btn" @click =" toggleChat" >
5648 <svg
8678</template >
8779
8880<script >
89- import BotIcon from " cl-doc-vue-bot-ui/src/assets/icons/bot.png" ;
90-
9181export default {
9282 data () {
9383 return {
9484 showChat: false ,
9585 isLoading: true ,
96- botOptions: {
97- botAvatarImg: BotIcon,
98- botTitle: " AI Assistant" ,
99- },
10086 iframeUrl: " https://chatbot.cloudlinux.com/docs/tuxcare" ,
10187 windowWidth: 0 , // Changed from window.innerWidth to avoid SSR error
10288 };
@@ -265,27 +251,9 @@ mobile-breakpoint = 768px
265251 color : white
266252 padding : 1rem 1.5rem
267253 display : flex
268- justify-content : space-between
254+ justify-content : flex-end
269255 align-items : center
270256
271- .header-content {
272- display : flex
273- align-items : center
274-
275- .header-avatar {
276- width : 32px
277- height : 32px
278- border-radius : 50%
279- margin-right : 10px
280- object-fit : cover
281- }
282-
283- .bot-title {
284- font-weight : 600
285- font-size : 1rem
286- }
287- }
288-
289257 .header-actions {
290258 display : flex
291259 align-items : center
You can’t perform that action at this time.
0 commit comments