diff --git a/src/components/layouts/FullPage.tsx b/src/components/layouts/FullPage.tsx index 932c95a5..eeead74b 100644 --- a/src/components/layouts/FullPage.tsx +++ b/src/components/layouts/FullPage.tsx @@ -20,12 +20,15 @@ const FullPageLayout: React.FC = ({ showInstruct = false, loading = false, poweredBy, -}) => ( - <> +}) => { + const isChrome = navigator.userAgent.includes('Chrome'); + + return ( + <> {integrationStyle} {integrationBackground} - + {showInstruct && ChangeMode && changeModeProps && ( )} @@ -52,6 +55,7 @@ const FullPageLayout: React.FC = ({ -); + ); +}; export default FullPageLayout; diff --git a/src/components/layouts/ZoomedFullBody.tsx b/src/components/layouts/ZoomedFullBody.tsx index a1194f7a..4527c397 100644 --- a/src/components/layouts/ZoomedFullBody.tsx +++ b/src/components/layouts/ZoomedFullBody.tsx @@ -70,12 +70,14 @@ const ZoomedFullBodyLayout: React.FC = ({ }; }, []); // Empty dependency array since we only want this to run once on mount + const isChrome = navigator.userAgent.includes('Chrome'); + return ( <> {integrationStyle} {integrationBackground} - + {showInstruct && ChangeMode && changeModeProps && ( )} diff --git a/src/components/layouts/zoomed-full-body.css b/src/components/layouts/zoomed-full-body.css index 1298ece0..7ec1922a 100644 --- a/src/components/layouts/zoomed-full-body.css +++ b/src/components/layouts/zoomed-full-body.css @@ -40,20 +40,25 @@ scroll-behavior: smooth; } -.memori-chat--history { - max-height: calc(100% - 180px); -} /* Mobile styles */ @media (max-width: 870px) { /* Layout */ .memori-full-body--container { display: flex; - height: 85vh !important; flex-direction: column; overscroll-behavior-y: none; } + .memori-full-body--container--chrome{ + height: 90vh !important; + } + + .memori-full-body--container--safari{ + height: 85vh !important; + } + + .memori--powered-by-custom { top: 30px; bottom: auto; @@ -224,6 +229,10 @@ height: calc(100% - 1rem); } + .memori--grid-column-right{ + overflow-y: auto; + } + .memori-full-body-layout--controls .memori-chat--bubble, .memori-full-body-layout--controls .memori-chat--bubble.memori-chat--user-bubble { position: relative;