Skip to content

Commit dade035

Browse files
Apply suggestions from code review
Co-authored-by: Eshank Vaish <eshank@devtron.ai>
1 parent 87291e5 commit dade035

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common/RJSF/templates/TitleField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import React from 'react'
1818
import { TitleFieldProps } from '@rjsf/utils'
1919

2020
export const TitleField = ({ id, title, required }: TitleFieldProps) => (
21-
<legend className="fs-13 fw-6 cn-9 lh-20 dc__no-border pb-9 pt-9 mb-0" id={id}>
21+
<legend className="fs-13 fw-6 cn-9 lh-20 dc__no-border py-9 mb-0" id={id}>
2222
<span>{title}</span>
2323
{required && <span className="cr-5">&nbsp;*</span>}
2424
</legend>

src/Common/RJSF/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const getInferredTypeFromValueType = (value) => {
138138
}
139139

140140
export const getTippyWrapperWithContent = (content) => (children) => (
141-
<Tippy className="default-tt" arrow={false} placement="right" content={content}>
141+
<Tippy className="default-tt dc__word-break" arrow={false} placement="right" content={content}>
142142
{children}
143143
</Tippy>
144144
)

0 commit comments

Comments
 (0)