w-fit on workspace modal

This commit is contained in:
timothycarambat 2023-10-23 13:58:51 -07:00
parent 708068a09e
commit 81bb7bfc69
2 changed files with 2 additions and 1 deletions
frontend/src/components
DefaultChat
Modals/MangeWorkspace

View file

@ -326,6 +326,7 @@ export default function DefaultChatContainer() {
processMsgs();
}, []);
cons;
return (
<div
style={{ height: isMobile ? "100%" : "calc(100% - 32px)" }}

View file

@ -66,7 +66,7 @@ const ManageWorkspace = ({ hideModal = noop, providedSlug = null }) => {
return (
<div className="w-screen h-screen fixed top-0 left-0 flex justify-center items-center z-99">
<div className="backdrop h-full w-full absolute top-0 z-10" />
<div className={`absolute max-h-full w-3/4 transition duration-300 z-20`}>
<div className={`absolute max-h-full w-fit transition duration-300 z-20`}>
<div className="relative bg-main-gradient rounded-[12px] shadow border-2 border-slate-300/10">
<div className="absolute top-[-18px] left-1/2 transform -translate-x-1/2 bg-sidebar-button p-1 rounded-xl shadow border-2 border-slate-300/10">
<div className="flex gap-x-1">