@arcblock/ux 1.14.47 → 1.14.48
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/lib/Screenshot/index.js +1 -1
- package/package.json +4 -4
package/lib/Screenshot/index.js
CHANGED
|
@@ -174,7 +174,7 @@ const Screenshot = props => {
|
|
|
174
174
|
const Div = _styledComponents.default.div.withConfig({
|
|
175
175
|
displayName: "Screenshot__Div",
|
|
176
176
|
componentId: "sc-el6nkq-0"
|
|
177
|
-
})(["@media (max-width:", "px){transform-origin:0 0;transform:scale(", ");}.device-content video,.device-content img{border-radius:", "px;background-color:#fff;background-position:center center;background-size:cover;object-fit:cover;width:100.1%;height:100.1%;}"], props => types[props.type].width, props => types[props.type].scale, props => props.contentRadius);
|
|
177
|
+
})(["@media (max-width:", "px){transform-origin:0 0;transform:scale(", ");}.device-content{overflow:hidden;}.device-content video,.device-content img{border-radius:", "px;background-color:#fff;background-position:center center;background-size:cover;object-fit:cover;width:100.1%;height:100.1%;}"], props => types[props.type].width, props => types[props.type].scale, props => props.contentRadius);
|
|
178
178
|
|
|
179
179
|
Screenshot.propTypes = {
|
|
180
180
|
type: _propTypes.default.oneOf(Object.keys(types)),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/ux",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.48",
|
|
4
4
|
"description": "Common used react components for arcblock products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"react": ">=16.12.0",
|
|
53
53
|
"react-ga": "^2.7.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "81301da8867ca981dbf7b6d8c422b7aba4e1ca7b",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@arcblock/icons": "^1.14.
|
|
58
|
-
"@arcblock/react-hooks": "^1.14.
|
|
57
|
+
"@arcblock/icons": "^1.14.48",
|
|
58
|
+
"@arcblock/react-hooks": "^1.14.48",
|
|
59
59
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
60
60
|
"@material-ui/core": "^4.10.1",
|
|
61
61
|
"@material-ui/icons": "4.5.1",
|