fix: prevent drawer overlay from being cut off (#617) (#637)

This commit is contained in:
Fahim muntasir
2025-12-28 02:14:34 +06:00
committed by GitHub
parent 4c0821307d
commit 9d28119bc6
2 changed files with 5 additions and 222 deletions

View File

@@ -161,7 +161,7 @@ const DescribeResource = ({
const badgeType = getBadgeType(status);
return (
<>
<div className="flex h-full flex-col">
<div className="flex justify-between border-b px-3 py-4">
<div>
<div className="flex gap-3">
@@ -196,9 +196,9 @@ const DescribeResource = ({
{isLoading ? (
<Spinner />
) : (
<div className="h-full overflow-y-auto">
<div className="flex-1 overflow-auto">
<pre
className="rounded-sm bg-white p-4 font-sf-mono text-base font-medium"
className="rounded-sm bg-white p-4 font-sf-mono text-base font-medium whitespace-pre"
style={{ overflow: "unset" }}
dangerouslySetInnerHTML={{
__html: yamlFormattedData,
@@ -206,6 +206,6 @@ const DescribeResource = ({
/>
</div>
)}
</>
</div>
);
};