Skip to content

Commit 9bde2cd

Browse files
committed
fix: Scroll warning when lots of skipped hashes
If there are more than a handful of skipped hashes, scroll the list vertically. Otherwise, the modal goes off the screen. https://harperdb.atlassian.net/browse/STUDIO-599
1 parent 5df0509 commit 9bde2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/instance/databases/modals/AddTableRowModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function AddTableRowModal({
113113
<AlertTitle>
114114
Skipped {skippedHashes.length === 1 ? 'Hash' : 'Hashes'} Detected
115115
</AlertTitle>
116-
<AlertDescription>
116+
<AlertDescription className="max-h-36 overflow-auto">
117117
<ol>
118118
{skippedHashes.map(hash => <li key={hash}>{hash}</li>)}
119119
</ol>

0 commit comments

Comments
 (0)