@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/cjs/index.js CHANGED
@@ -21113,8 +21113,10 @@ var SocialEnvironmentalRisk = function (props) {
21113
21113
  SocialEnvironmentalRiskData &&
21114
21114
  socialEnvironmentalDetails.map(function (section) {
21115
21115
  return (React.createElement(React.Fragment, null,
21116
- section.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },
21117
- React.createElement("label", { className: "co-sub-header-text" }, section.title))),
21116
+ section.isTitleVisible && (React.createElement("div", { className: "social-environment-risk-title-section" },
21117
+ React.createElement(antd.Row, { justify: "center", align: "middle", style: { width: "100%" } },
21118
+ React.createElement(antd.Col, { span: 24, className: "social-environment-risk-title" },
21119
+ React.createElement("span", null, section.title))))),
21118
21120
  section.subItems.map(function (subSection) {
21119
21121
  return (React.createElement(React.Fragment, null,
21120
21122
  subSection.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },