Skip to content

Commit

Permalink
fix(webchat/shareable): fix shareable stylesheet to make it work with…
Browse files Browse the repository at this point in the history
… the mobile friendly media queries (#592)
  • Loading branch information
michaelmass authored Apr 25, 2023
1 parent cc4421e commit 1cdfceb
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions packages/inject/src/themes/shareable.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ Header
display: flex;
}

.bpw-header-title-container .bpw-bot-avatar {
width: 25px;
height: 25px;
margin: 0 var(--spacing-large) 0 0;
}

.bpw-header-title-container .bpw-bot-avatar svg {
zoom: 0.6;
}

.bpw-header-name {
font-weight: 500;
font-size: 0.875rem;
Expand Down Expand Up @@ -357,7 +347,6 @@ Footer
}

.bpw-bot-avatar {
margin-bottom: 5px;
width: 30px;
height: 30px;
border-radius: 50%;
Expand All @@ -370,10 +359,12 @@ Footer
justify-content: center;
}

.bpw-bot-avatar img,
.bpw-bot-avatar svg {
width: 30px;
height: 30px;
background: var(--zinc-900);
border: none;
zoom: 0.75;
border-radius: 50%;
}

Expand Down Expand Up @@ -1201,3 +1192,16 @@ Footer
.bpw-msg-hovering:hover {
cursor: pointer;
}

@media (max-device-width: 768px) {
.bpw-bot-avatar {
width: 80px;
height: 80px;
}

.bpw-bot-avatar img,
.bpw-bot-avatar svg {
width: 80px;
height: 80px;
}
}

0 comments on commit 1cdfceb

Please sign in to comment.