@twreporter/react-article-components
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -7,2 +7,8 @@ # CHANGELOG | ||
### 1.0.19 | ||
#### Bug fix | ||
- Fix embedded overflow problem: The embedded code block will show scroll bar at some browsers even if it's unnecessary. So set the container style to default `overflow: visible`. | ||
### 1.0.18 | ||
@@ -9,0 +15,0 @@ |
@@ -300,3 +300,3 @@ "use strict"; | ||
componentId: "sc-1wuywdb-5" | ||
})(["position:relative;width:100%;", " ", ""], _mediaQuery["default"].desktopOnly(_templateObject4()), _mediaQuery["default"].hdOnly(_templateObject5())); | ||
})(["position:relative;width:100%;overflow:hidden;", " ", ""], _mediaQuery["default"].desktopOnly(_templateObject4()), _mediaQuery["default"].hdOnly(_templateObject5())); | ||
@@ -303,0 +303,0 @@ var DesktopAsideBlock = |
@@ -50,9 +50,2 @@ "use strict"; | ||
var Container = | ||
/*#__PURE__*/ | ||
_styledComponents["default"].div.withConfig({ | ||
displayName: "embedded-code__Container", | ||
componentId: "tkafgt-0" | ||
})(["overflow:scroll;"]); | ||
var Embedded = | ||
@@ -62,4 +55,4 @@ /*#__PURE__*/ | ||
displayName: "embedded-code__Embedded", | ||
componentId: "tkafgt-1" | ||
})(["overflow:visible;text-align:center;"]); | ||
componentId: "tkafgt-0" | ||
})(["position:relative;"]); | ||
@@ -70,3 +63,3 @@ var Caption = | ||
displayName: "embedded-code__Caption", | ||
componentId: "tkafgt-2" | ||
componentId: "tkafgt-1" | ||
})(["line-height:1.36;letter-spacing:0.5px;font-size:14px;color:", ";padding:20px;text-align:center;"], function (props) { | ||
@@ -168,3 +161,3 @@ return props.theme.colors.base.text; | ||
return _react["default"].createElement(Container, { | ||
return _react["default"].createElement("div", { | ||
className: className | ||
@@ -171,0 +164,0 @@ }, _react["default"].createElement(Embedded, { |
{ | ||
"name": "@twreporter/react-article-components", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "The Reporter react article components, which are used in article page", | ||
@@ -5,0 +5,0 @@ "main": "lib/components/article-page.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392884
8005