Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design: 챗봇 css 수정 #97

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/templates/chatbot/ChatbotUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function ChatbotUI({
setIsSubmitLoading(false);
}
return (
<div className='fixed z-chatbot right-25 bottom-100 w-275 max-h-450 h-full rounded-12 overflow-hidden desktop:w-430 desktop:max-h-600'>
<div className='fixed z-chatbot right-25 bottom-90 desktop:bottom-100 w-275 max-h-450 h-full rounded-12 overflow-hidden desktop:w-430 desktop:max-h-600'>
{/* header */}
<div className='w-full flex justify-center items-center text-white text-13 font-bold py-10 bg-mainLevel400 desktop:text-21'>
금토리에게 물어봐
Expand Down
4 changes: 2 additions & 2 deletions src/components/templates/chatbot/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export default function Chatbot() {
{showChatbot && <ChatbotUI chatData={chatData} setChatData={setChatData} />}
<button
onClick={() => setShowChatbot(!showChatbot)}
className='fixed z-chatbot overflow-hidden right-25 bottom-25 flex justify-center items-center border-2 border-solid border-main rounded-full bg-white w-43 h-43 tablet:w-56 tablet:h-56 desktop:w-62 desktop:h-62 dark:bg-dark-secondary'
className='fixed z-chatbot overflow-hidden right-25 bottom-25 flex justify-center items-center border-2 border-solid border-main rounded-full bg-white w-56 h-56 desktop:w-62 desktop:h-62 dark:bg-dark-secondary'
>
{showChatbot ? (
<CloseIcon className='w-30 h-30 tablet:w-35 tablet:h-35 desktop:w-40 desktop:h-40' />
<CloseIcon className='w-35 h-35 desktop:w-40 desktop:h-40' />
) : (
<Image src={GoldtoriIcon} alt='금토리' className='absolute scale-[133%] right-5 top-11' />
)}
Expand Down