@arcblock/ux 2.4.4 → 2.4.5
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/NavMenu/style.js +1 -1
- package/package.json +4 -4
- package/src/NavMenu/style.js +2 -2
package/lib/NavMenu/style.js
CHANGED
@@ -16,5 +16,5 @@ const HorizontalStyle = (0, _Theme.styled)(NavMenuBase)(_templateObject2 || (_te
|
|
16
16
|
/* inline mode */
|
17
17
|
|
18
18
|
exports.HorizontalStyle = HorizontalStyle;
|
19
|
-
const InlineStyle = (0, _Theme.styled)(NavMenuBase)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: 16px;\n .navmenu-root {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n }\n .navmenu-item,\n .navmenu-sub {\n padding: 0 16px;\n }\n & .navmenu-sub {\n flex-wrap: wrap;\n }\n /* \u9876\u7EA7 */\n .navmenu-root > .navmenu-item,\n .navmenu-root > .navmenu-sub {\n line-height: 48px;\n border-bottom: 1px solid #eee;\n }\n /* icon */\n .navmenu-item-icon,\n .navmenu-sub-icon {\n width:
|
19
|
+
const InlineStyle = (0, _Theme.styled)(NavMenuBase)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: 16px;\n .navmenu-root {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n }\n .navmenu-item,\n .navmenu-sub {\n padding: 0 16px;\n }\n & .navmenu-sub {\n flex-wrap: wrap;\n }\n /* \u9876\u7EA7 */\n .navmenu-root > .navmenu-item,\n .navmenu-root > .navmenu-sub {\n line-height: 48px;\n border-bottom: 1px solid #eee;\n }\n /* icon */\n .navmenu-item-icon,\n .navmenu-sub-icon {\n width: 30px;\n margin: 0;\n }\n .navmenu-sub-expand-icon {\n margin-left: auto;\n }\n /* \u5B50\u7EA7\u5217\u8868 */\n .navmenu-sub-container {\n display: none;\n flex: 1 0 100%;\n margin: 0 -16px;\n padding-bottom: 8px;\n .navmenu-item,\n .navmenu-sub {\n line-height: 32px;\n }\n }\n .navmenu-sub-list {\n padding-left: 16px;\n .navmenu-item,\n .navmenu-sub {\n padding-left: 30px;\n font-size: 13px;\n }\n }\n /* \u4E8C\u7EA7 menu */\n .navmenu-sub--opened > .navmenu-sub-container {\n display: block;\n }\n"])));
|
20
20
|
exports.InlineStyle = InlineStyle;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.4.
|
3
|
+
"version": "2.4.5",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -47,10 +47,10 @@
|
|
47
47
|
"react": ">=18.1.0",
|
48
48
|
"react-ga": "^2.7.0"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "ba62e426b63dd469d3d139d0de11d4d329d84fef",
|
51
51
|
"dependencies": {
|
52
|
-
"@arcblock/icons": "^2.4.
|
53
|
-
"@arcblock/react-hooks": "^2.4.
|
52
|
+
"@arcblock/icons": "^2.4.5",
|
53
|
+
"@arcblock/react-hooks": "^2.4.5",
|
54
54
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
55
55
|
"@emotion/react": "^11.10.0",
|
56
56
|
"@emotion/styled": "^11.10.0",
|
package/src/NavMenu/style.js
CHANGED
@@ -146,7 +146,7 @@ export const InlineStyle = styled(NavMenuBase)`
|
|
146
146
|
/* icon */
|
147
147
|
.navmenu-item-icon,
|
148
148
|
.navmenu-sub-icon {
|
149
|
-
width:
|
149
|
+
width: 30px;
|
150
150
|
margin: 0;
|
151
151
|
}
|
152
152
|
.navmenu-sub-expand-icon {
|
@@ -167,7 +167,7 @@ export const InlineStyle = styled(NavMenuBase)`
|
|
167
167
|
padding-left: 16px;
|
168
168
|
.navmenu-item,
|
169
169
|
.navmenu-sub {
|
170
|
-
padding-left:
|
170
|
+
padding-left: 30px;
|
171
171
|
font-size: 13px;
|
172
172
|
}
|
173
173
|
}
|