Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twreporter/react-article-components

Package Overview
Dependencies
Maintainers
4
Versions
494
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/react-article-components - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19

6

CHANGELOG.md

@@ -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 @@

2

lib/components/article-page.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc