File tree Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 11@namespace AntDesign.ProLayout
22@inherits AntProComponentBase
3- <style >
4- .ant-pro-sider .ant-menu-inline-collapsed .ant-menu-submenu-title
5- Specificity: (0,3,0) {
6- padding : 0 16px !important ;
7- width : 100% ;
8- }
9- .ant-pro-sider .ant-menu-inline-collapsed .ant-menu-item
10- {
11- padding : 0 16px !important ;
12- text-align : center ;
13- width : 100% ;
14- }
15- .ant-pro-sider .ant-menu-inline-collapsed .ant-menu-submenu-title {
16- padding : 0 16px !important ;
17- text-align : center ;
18- width :100% ;
19- }
20- </style >
21-
223<Sider
234 Collapsible =" false"
245 Collapsed =" Collapsed"
Original file line number Diff line number Diff line change 278278 opacity : 1 ;
279279 }
280280}
281+
282+ @{ant-prefix} - menu- inline- collapsed {
283+ .@{ant-prefix} -menu-item {
284+ padding : 0 16px !important ;
285+ text-align : center ;
286+ width : 100% ;
287+ }
288+
289+ .@{ant-prefix} -menu-submenu-title {
290+ padding : 0 16px !important ;
291+ text-align : center ;
292+ width : 100% ;
293+ }
294+ }
You can’t perform that action at this time.
0 commit comments