Skip to content

Commit b22f29c

Browse files
authored
make api key dialog scrollable (#2251)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Make API key dialog scrollable by setting `max-h-[70vh]` in `dialog-content.tsx`. > > - **UI Update**: > - In `dialog-content.tsx`, set `max-h-[70vh]` on the main `div` to make the API key dialog scrollable. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for ac6468d. You can [customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this summary. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
1 parent 66dba18 commit b22f29c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

typescript/packages/playground-common/src/components/api-keys-dialog/dialog-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const ApiKeysDialogContent: React.FC = () => {
1616
syncLocalApiKeys();
1717
}, [syncLocalApiKeys]);
1818
return (
19-
<div className="space-y-2 h-full overflow-y-auto">
19+
<div className="space-y-2 max-h-[70vh] overflow-y-auto">
2020
{/* Add New Api Key Form */}
2121
<div className="mb-4 p-4 rounded-md border border-border flex flex-col gap-2">
2222
<AddApiKeyForm />

0 commit comments

Comments
 (0)