mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: resize chatwoot icon for workflow run page
This commit is contained in:
parent
0f3e45ff03
commit
34dc35f36f
2 changed files with 24 additions and 0 deletions
|
|
@ -136,3 +136,21 @@
|
|||
animation: spin-slow 3s linear infinite;
|
||||
}
|
||||
|
||||
/* Smaller Chatwoot bubble on workflow run pages */
|
||||
body.chatwoot-compact .woot--bubble-holder {
|
||||
transform: scale(0.7) !important;
|
||||
transform-origin: bottom right !important;
|
||||
right: 4px !important;
|
||||
bottom: 4px !important;
|
||||
}
|
||||
|
||||
body.chatwoot-compact .woot--bubble-holder .woot-widget-bubble {
|
||||
width: 48px !important;
|
||||
height: 48px !important;
|
||||
}
|
||||
|
||||
body.chatwoot-compact #chatwoot_live_chat_widget {
|
||||
bottom: 60px !important;
|
||||
right: 4px !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,12 @@ export default function WorkflowRunPage() {
|
|||
}
|
||||
}, [auth]);
|
||||
|
||||
// Shrink and reposition Chatwoot bubble on this page
|
||||
useEffect(() => {
|
||||
document.body.classList.add('chatwoot-compact');
|
||||
return () => document.body.classList.remove('chatwoot-compact');
|
||||
}, []);
|
||||
|
||||
const { openPreview, dialog } = MediaPreviewDialog();
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue