Skip to content

Commit

Permalink
fix: chat widget width and enhance box shadow styling (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
HashCookie authored Aug 2, 2024
1 parent 3644f6a commit b8b74d6
Showing 1 changed file with 3 additions and 3 deletions.
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",
};

0 comments on commit b8b74d6

Please sign in to comment.