Skip to content

Commit 356aac4

Browse files
authored
Merge pull request #188 from auth0/fix/chat-bot-height
fix: adjust chat assistant height for larger screens
2 parents 753f221 + 62ea331 commit 356aac4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

main/ui/auth0-docs-ui-1.0.4.css renamed to main/ui/auth0-docs-ui-1.0.5.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ui",
33
"private": true,
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

ui/src/index.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@
327327
}
328328

329329
/* Chat Assistant height fix, can be removed once we remove the opt-out banner */
330-
div:has(> #chat-assistant-sheet) {
331-
height: calc(100vh - 8rem) !important;
332-
top: 8rem !important;
330+
@media (width > 1024px) {
331+
div:has(> #chat-assistant-sheet) {
332+
height: calc(100vh - 6rem - var(--opt-out-banner-height)) !important;
333+
top: calc(6rem + var(--opt-out-banner-height)) !important;
334+
}
333335
}

0 commit comments

Comments
 (0)