fix(web): profiles page modal (#43858)
* fix(web): profiles page modal * chore: drop unrelated package-lock.json changes Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d1383a6b14
commit
9dd9ef0ec9
@ -794,7 +794,7 @@ export default function ProfilesPage() {
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
themedBody,
|
themedBody,
|
||||||
"relative w-full max-w-md border border-border bg-card shadow-2xl flex flex-col max-h-[90vh] overflow-y-auto",
|
"relative w-full max-w-md border border-border bg-card shadow-2xl flex flex-col max-h-[90vh]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
@ -816,7 +816,7 @@ export default function ProfilesPage() {
|
|||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div className="p-5 grid gap-4">
|
<div className="min-h-0 overflow-y-auto p-5 grid gap-4">
|
||||||
<div className="grid gap-2">
|
<div className="grid gap-2">
|
||||||
<Label htmlFor="profile-name">{t.profiles.name}</Label>
|
<Label htmlFor="profile-name">{t.profiles.name}</Label>
|
||||||
|
|
||||||
@ -1207,7 +1207,7 @@ export default function ProfilesPage() {
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
themedBody,
|
themedBody,
|
||||||
"relative w-full max-w-lg border border-border bg-card shadow-2xl flex flex-col max-h-[90vh] overflow-y-auto",
|
"relative w-full max-w-lg border border-border bg-card shadow-2xl flex flex-col max-h-[90vh]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
@ -1234,7 +1234,12 @@ export default function ProfilesPage() {
|
|||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div className="p-5 grid gap-4">
|
<div
|
||||||
|
className={cn(
|
||||||
|
"p-5 grid gap-4",
|
||||||
|
editorKind === "soul" && "min-h-0 overflow-y-auto",
|
||||||
|
)}
|
||||||
|
>
|
||||||
{editorKind === "model" &&
|
{editorKind === "model" &&
|
||||||
(modelChoices !== null && modelChoices.length === 0 ? (
|
(modelChoices !== null && modelChoices.length === 0 ? (
|
||||||
<p className="text-xs text-muted-foreground">{L.modelNone}</p>
|
<p className="text-xs text-muted-foreground">{L.modelNone}</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user