mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 03:48:14 +02:00
Borders (#3388)
* remove double x * incorporate base default padding for modals
This commit is contained in:
parent
637404f482
commit
f2bedb8fdd
@ -82,7 +82,7 @@ export const DanswerApiKeyForm = ({
|
||||
}}
|
||||
>
|
||||
{({ isSubmitting, values, setFieldValue }) => (
|
||||
<Form>
|
||||
<Form className="w-full overflow-visible">
|
||||
<Text className="mb-4 text-lg">
|
||||
Choose a memorable name for your API key. This is optional and
|
||||
can be added or changed later!
|
||||
|
@ -45,9 +45,6 @@ function NewApiKeyModal({
|
||||
<div className="px-8 py-8">
|
||||
<div className="flex w-full border-b border-border mb-4 pb-4">
|
||||
<Title>New API Key</Title>
|
||||
<div onClick={onClose} className="ml-auto p-1 rounded hover:bg-hover">
|
||||
<FiX size={18} />
|
||||
</div>
|
||||
</div>
|
||||
<div className="h-32">
|
||||
<Text className="mb-4">
|
||||
|
@ -99,7 +99,7 @@ export function Modal({
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
<div className="w-full overflow-y-hidden flex flex-col h-full justify-stretch">
|
||||
<div className="w-full overflow-y-auto overflow-x-visible p-1 flex flex-col h-full justify-stretch">
|
||||
{title && (
|
||||
<>
|
||||
<div className="flex mb-4">
|
||||
@ -117,7 +117,7 @@ export function Modal({
|
||||
)}
|
||||
<div
|
||||
className={cn(
|
||||
noScroll ? "overflow-auto" : "overflow-x-hidden",
|
||||
noScroll ? "overflow-auto" : "overflow-x-visible",
|
||||
height || "max-h-[60vh]"
|
||||
)}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user