Skip to content

Commit d48e848

Browse files
committed
make zoomed-in UI usable
1 parent 2ad058b commit d48e848

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

src/webchat-embed/embedded-webchat-styles.css

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
@media screen and (min-width: 576px) and (max-height: 870px) {
7676
[data-cognigy-webchat-root] [data-cognigy-webchat] {
7777
height: calc(100% - 90px);
78-
min-height: 558px;
7978
}
8079
}
8180

src/webchat-ui/components/WebchatUI.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ const RegularLayoutContentWrapper = styled.div(({ theme }) => ({
202202
display: "flex",
203203
flexDirection: "column",
204204
backgroundColor: theme.white,
205+
overflow: "auto",
205206

206207
"&.slide-in-enter": {
207208
transform: "translateX(100%)",

src/webchat-ui/components/presentational/PrivacyNotice.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const PrivacyNoticeRoot = styled.div(({ theme }) => ({
1515
justifyContent: "space-between",
1616
alignItems: "center",
1717
padding: 20,
18+
overflowY: "auto",
1819
}));
1920

2021
const PrivacyMessage = styled.div(() => ({

src/webchat-ui/components/presentational/chat-options/ChatOptions.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const ChatOptionsContainer = styled.div(() => ({
2424
display: "flex",
2525
padding: "0 20px",
2626
flexDirection: "column",
27+
overflowY: "auto",
2728
}));
2829

2930
const DividerWrapper = styled.div(() => ({

0 commit comments

Comments
 (0)