carbon-react 135.1.0 → 135.1.1

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.
@@ -102,7 +102,7 @@ const StyledToast = styled.div`
102
102
 
103
103
  box-shadow: ${boxShadow};
104
104
  line-height: 22px;
105
- margin-top: ${alignY === "top" && isNotice || alignY === "center" ? "0" : "30px"};
105
+ margin-top: ${isNotice || alignY === "center" || alignY === "bottom" ? "0" : "30px"};
106
106
  margin-bottom: ${alignY === "bottom" && !isNotice ? "30px" : "0"};
107
107
  max-width: ${!maxWidth ? "300px" : maxWidth};
108
108
  position: relative;
@@ -117,7 +117,7 @@ const StyledToast = exports.StyledToast = _styledComponents.default.div`
117
117
 
118
118
  box-shadow: ${boxShadow};
119
119
  line-height: 22px;
120
- margin-top: ${alignY === "top" && isNotice || alignY === "center" ? "0" : "30px"};
120
+ margin-top: ${isNotice || alignY === "center" || alignY === "bottom" ? "0" : "30px"};
121
121
  margin-bottom: ${alignY === "bottom" && !isNotice ? "30px" : "0"};
122
122
  max-width: ${!maxWidth ? "300px" : maxWidth};
123
123
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "135.1.0",
3
+ "version": "135.1.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",