Skip to content

Commit 86febd5

Browse files
authored
space (#388)
1 parent afc0928 commit 86febd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/ui/MetaData.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function renderAttributes(
5151
>
5252
{key}:
5353
</div>
54-
<div className="font-mono whitespace-pre-wrap break-words"
54+
<div className="font-mono whitespace-pre-wrap break-words md:col-start-2 md:row-start-auto pl-4 md:pl-0"
5555
style={{ overflowWrap: 'anywhere' }}
5656
>
5757
{typeof value === 'object' ? JSON.stringify(value) : String(value)}
@@ -88,7 +88,7 @@ const Metadata = ({ data }: { data: Record<string, any> }) => {
8888
<DialogTitle>Attributes</DialogTitle>
8989
</DialogHeader>
9090
<div className="max-h-[60vh] text-[12px] overflow-y-auto break-words p-0">
91-
<div className="grid grid-cols-[max-content_1fr] gap-x-3 gap-y-[6px]">
91+
<div className="grid grid-cols-1 md:grid-cols-[max-content_1fr] gap-x-3 gap-y-[6px]">
9292
{renderAttributes(data, defaultAttributes)}
9393
</div>
9494
</div>

src/components/ui/css/MetaData.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.metadata-dialog {
10-
max-width: 90vw;
10+
max-width: 95vw;
1111
max-height: 90vh;
1212
width: 768px;
1313
}

0 commit comments

Comments
 (0)