Remove inline styling

This commit is contained in:
1ilit 2024-04-14 10:23:02 +03:00
parent 025479e52d
commit 598f41fed2

View File

@ -215,15 +215,17 @@ export default function Table(props) {
</Tag> </Tag>
)} )}
<p> <p>
<strong>Default :</strong>{" "} <strong>Default: </strong>
{e.default === "" ? "Not set" : e.default} {e.default === "" ? "Not set" : e.default}
</p> </p>
<p> <p>
<strong>Comment:</strong>{" "} <strong>Comment: </strong>
{e.comment === "" ? ( {e.comment === "" ? (
"No comment" "No comment"
) : ( ) : (
<div style={{ maxWidth: "260px", wordBreak: "break-word" }}>{e.comment}</div> <div className="max-w-[260px] break-words">
{e.comment}
</div>
)} )}
</p> </p>
</div> </div>