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

fix: chat widget width and enhance box shadow styling #259

Merged
merged 1 commit into from
Aug 2, 2024
Merged
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
6 changes: 3 additions & 3 deletions src/ChatWidget/chatStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const chatIframeContainer = {
position: "fixed",
bottom: "80px",
right: "20px",
width: "min(500px, calc(100vw - 40px))",
width: "min(550px, calc(100vw - 40px))",
height: "min(600px, calc(100vh - 100px))",
borderRadius: "10px",
zIndex: 1001,
Expand All @@ -49,7 +49,7 @@ export const chatIframeContainer = {
transition: "all 0.3s ease",
transform: "translateY(30px)",
opacity: 1,
boxShadow: "0 5px 60px rgba(0, 0, 0, 0.6)",
boxShadow: "-8px 0 8px -8px rgba(0, 0, 0, 0.2), 0 -8px 8px -8px rgba(0, 0, 0, 0.2), 0 8px 8px -8px rgba(0, 0, 0, 0.2)",
};

export const chatIframeContainerOpen = {
Expand All @@ -60,5 +60,5 @@ export const chatIframeContainerOpen = {
export const chatIframe = {
width: "100%",
height: "100%",
marginLeft: "-5px",
marginLeft: "-2px",
};
Loading