Skip to content

Commit 57d95c3

Browse files
authored
Enhance note display in PropsList with improved note section styling … (#3701)
* Enhance note display in PropsList with improved note section styling and formatting * Style change to new guidelines * remove padding comment
1 parent 7533ed4 commit 57d95c3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docuilib/src/components/pageComponents/PropsList.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,20 @@ export const PropsList = ({props}) => {
7373
{defaultValue}
7474
</span>
7575
{prop.note && (
76-
<span key={`${props.name}-note`} style={{display: 'block', marginBottom: 28, fontSize: '16px', fontWeight: '700'}}>{prop.note}</span>
76+
<span
77+
key={`${props.name}-note`}
78+
style={{
79+
display: 'block',
80+
marginBottom: 28,
81+
fontSize: '16px',
82+
fontWeight: '400',
83+
backgroundColor: '#F0F2F5',
84+
padding: '24px 40px',
85+
borderRadius: '8px'
86+
}}
87+
>
88+
{prop.note}
89+
</span>
7790
)}
7891
</>
7992
);

0 commit comments

Comments
 (0)