mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-29 13:25:50 +02:00
k
This commit is contained in:
committed by
Chris Weaver
parent
818225c60e
commit
da5c83a96d
@@ -116,9 +116,9 @@ export function AssistantModal({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={true} onOpenChange={(open) => !open && hideModal()}>
|
<div className="fixed inset-0 bg-neutral-950/80 bg-opacity-50 flex items-center justify-center z-50">
|
||||||
<DialogContent
|
<div
|
||||||
className="p-0 max-h-[80vh] max-w-none w-[95%] bg-background rounded-sm shadow-2xl transform transition-all duration-300 ease-in-out relative w-11/12 max-w-4xl pt-10 pb-10 px-10 flex flex-col max-w-4xl"
|
className="p-0 max-w-4xl overflow-hidden max-h-[80vh] w-[95%] bg-background rounded-md shadow-2xl transform transition-all duration-300 ease-in-out relative w-11/12 max-w-4xl pt-10 pb-10 px-10 overflow-hidden flex flex-col"
|
||||||
style={{
|
style={{
|
||||||
position: "fixed",
|
position: "fixed",
|
||||||
top: "10vh",
|
top: "10vh",
|
||||||
@@ -127,6 +127,7 @@ export function AssistantModal({
|
|||||||
margin: 0,
|
margin: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<div className="flex overflow-hidden flex-col h-full">
|
||||||
<div className="flex overflow-hidden flex-col h-full">
|
<div className="flex overflow-hidden flex-col h-full">
|
||||||
<div className="flex flex-col sticky top-0 z-10">
|
<div className="flex flex-col sticky top-0 z-10">
|
||||||
<div className="flex px-2 justify-between items-center gap-x-2 mb-0">
|
<div className="flex px-2 justify-between items-center gap-x-2 mb-0">
|
||||||
@@ -180,7 +181,9 @@ export function AssistantModal({
|
|||||||
<AssistantBadgeSelector
|
<AssistantBadgeSelector
|
||||||
text="Mine"
|
text="Mine"
|
||||||
selected={assistantFilters[AssistantFilter.Mine]}
|
selected={assistantFilters[AssistantFilter.Mine]}
|
||||||
toggleFilter={() => toggleAssistantFilter(AssistantFilter.Mine)}
|
toggleFilter={() =>
|
||||||
|
toggleAssistantFilter(AssistantFilter.Mine)
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<AssistantBadgeSelector
|
<AssistantBadgeSelector
|
||||||
text="Private"
|
text="Private"
|
||||||
@@ -252,8 +255,9 @@ export function AssistantModal({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</div>
|
||||||
</Dialog>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
export default AssistantModal;
|
export default AssistantModal;
|
||||||
|
Reference in New Issue
Block a user