Skip to content

Commit 0265777

Browse files
samhere06mohas22
andauthored
styling change in fieldvaluelist (#411)
Co-authored-by: mohas22 <Sameer.Mohammed@pega.com>
1 parent c234165 commit 0265777

File tree

1 file changed

+2
-2
lines changed
  • packages/react-sdk-components/src/components/designSystemExtension/FieldValueList

1 file changed

+2
-2
lines changed

packages/react-sdk-components/src/components/designSystemExtension/FieldValueList/FieldValueList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function FieldValueList(props: FieldValueListProps) {
5151

5252
function getGridItemLabel() {
5353
return (
54-
<Grid item xs={variant === 'stacked' ? 12 : 6} className={variant === 'stacked' ? classes.noPaddingBottom : ''}>
54+
<Grid item xs={variant === 'stacked' ? 12 : 4} className={variant === 'stacked' ? classes.noPaddingBottom : ''}>
5555
<Typography variant='body2' component='span' className={`${classes.fieldLabel}`}>
5656
{name}
5757
</Typography>
@@ -63,7 +63,7 @@ export default function FieldValueList(props: FieldValueListProps) {
6363
const formattedValue = formatItemValue(value);
6464

6565
return (
66-
<Grid item xs={variant === 'stacked' ? 12 : 6} className={variant === 'stacked' ? classes.noPaddingTop : ''}>
66+
<Grid item xs={variant === 'stacked' ? 12 : 8} className={variant === 'stacked' ? classes.noPaddingTop : ''}>
6767
{isHtml ? (
6868
// eslint-disable-next-line react/no-danger
6969
<div dangerouslySetInnerHTML={{ __html: formattedValue }} />

0 commit comments

Comments
 (0)