@pinuts/bsr-uikit-relaunch 0.2.85 → 0.2.86
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.
|
@@ -67,7 +67,7 @@ const CheckboxField = props => {
|
|
|
67
67
|
const hasDescription = !!infobadge || !!subtitle;
|
|
68
68
|
const descriptionId = hasDescription ? `desc-${inputProps.id}` : null;
|
|
69
69
|
return /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
70
|
-
className: "pi-checkbox custom-control custom-checkbox border mb-1 w-100
|
|
70
|
+
className: "pi-checkbox custom-control custom-checkbox border mb-1 w-100 justify-content-start align-items-center d-block d-md-flex "
|
|
71
71
|
}, /*#__PURE__*/_react.default.createElement("input", _extends({
|
|
72
72
|
className: ""
|
|
73
73
|
}, field, inputProps, {
|
|
@@ -80,12 +80,12 @@ const CheckboxField = props => {
|
|
|
80
80
|
className: "custom-control-label d-sm-flex align-items-center p-3 pl-4",
|
|
81
81
|
htmlFor: inputProps.id
|
|
82
82
|
}, /*#__PURE__*/_react.default.createElement(_HTMLParserSanitized.HTMLParserSanitized, null, header)), hasDescription && /*#__PURE__*/_react.default.createElement("div", {
|
|
83
|
-
className: "h5 mr-4 ml-auto d-flex",
|
|
83
|
+
className: "h5 mr-4 ml-auto d-flex pl-5 pl-md-0 pb-3 pb-md-0",
|
|
84
84
|
id: descriptionId
|
|
85
85
|
}, subtitle && /*#__PURE__*/_react.default.createElement("div", {
|
|
86
|
-
className: "small mt-1 mr-4"
|
|
86
|
+
className: "small mt-1 mr-4 pl-4 pl-md-0"
|
|
87
87
|
}, subtitle), infobadge && /*#__PURE__*/_react.default.createElement("div", {
|
|
88
|
-
className: "badge badge-secondary rounded-pill ml-auto mt-1 mt-sm-
|
|
88
|
+
className: "badge badge-secondary rounded-pill ml-auto mt-1 mt-sm-0 h-100"
|
|
89
89
|
}, infobadge), required && /*#__PURE__*/_react.default.createElement("span", {
|
|
90
90
|
className: "pi-required text-primary mr-1"
|
|
91
91
|
}, "*"))));
|