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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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" } },