Skip to content

Commit bae5244

Browse files
authored
Merge pull request #940 from amitamrutiya/fix-styling
fix: some styling for the resource detail formatter
2 parents 997b552 + d036dc8 commit bae5244

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/custom/ResourceDetailFormatters/Component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ export const KeyValueInRow: React.FC<KeyValueProps> = ({ Key, Value, showFold =
163163
};
164164

165165
return (
166-
<KeyValueGrid container>
166+
<KeyValueGrid container rowGap={0.5}>
167167
<React.Fragment key={Key}>
168-
<KeyValueGridCell container xs={3} spacing={1}>
168+
<KeyValueGridCell container xs={12} sm={3}>
169169
<KeyValueGridTitle>{Key}</KeyValueGridTitle>
170170
{showFold && (
171171
<IconButton onClick={handleToggleFold}>
@@ -177,7 +177,7 @@ export const KeyValueInRow: React.FC<KeyValueProps> = ({ Key, Value, showFold =
177177
</IconButton>
178178
)}
179179
</KeyValueGridCell>
180-
<Grid item xs={9}>
180+
<Grid item xs={12} sm={9}>
181181
<div
182182
style={{
183183
maxHeight: showFold && isFolded ? '200px' : 'none',

0 commit comments

Comments
 (0)