@undp/carbon-library 1.0.262-CARBON-350.2 → 1.0.262-CARBON-350.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -21093,8 +21093,10 @@ var SocialEnvironmentalRisk = function (props) {
21093
21093
  SocialEnvironmentalRiskData &&
21094
21094
  socialEnvironmentalDetails.map(function (section) {
21095
21095
  return (React.createElement(React.Fragment, null,
21096
- section.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },
21097
- React.createElement("label", { className: "co-sub-header-text" }, section.title))),
21096
+ section.isTitleVisible && (React.createElement("div", { className: "social-environment-risk-title-section" },
21097
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
21098
+ React.createElement(Col, { span: 24, className: "social-environment-risk-title" },
21099
+ React.createElement("span", null, section.title))))),
21098
21100
  section.subItems.map(function (subSection) {
21099
21101
  return (React.createElement(React.Fragment, null,
21100
21102
  subSection.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },