@flatbiz/pro-layout 2.5.27 → 2.5.28

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/cjs/index.css CHANGED
@@ -15,18 +15,6 @@ body {
15
15
  display: flex;
16
16
  flex-direction: row;
17
17
  }
18
- .flatbiz-layout-sider {
19
- overflow: hidden;
20
- }
21
- .flatbiz-layout-sider .ant-layout-sider-children {
22
- display: flex;
23
- flex-direction: column;
24
- }
25
- .flatbiz-layout-sider .ant-menu {
26
- flex: 1;
27
- overflow-y: scroll;
28
- overflow-x: hidden;
29
- }
30
18
  .flatbiz-layout-main {
31
19
  display: flex;
32
20
  overflow: hidden;
@@ -34,7 +22,7 @@ body {
34
22
  }
35
23
  .flatbiz-layout-main-content {
36
24
  flex: 1;
37
- overflow-y: scroll;
25
+ overflow-y: auto;
38
26
  }
39
27
  .ant-layout-sider-collapsed .menu-icon-img-active + span {
40
28
  display: none;
@@ -42,6 +30,17 @@ body {
42
30
  .ant-layout-sider-collapsed .ant-menu-submenu-selected {
43
31
  background-color: var(--sidebar-menu-selected-bg-color);
44
32
  }
33
+ ::-webkit-scrollbar {
34
+ width: 5px;
35
+ height: 5px;
36
+ }
37
+ ::-webkit-scrollbar-thumb {
38
+ border-radius: 10px;
39
+ background: #cfcfcf;
40
+ }
41
+ ::-webkit-scrollbar-track {
42
+ border-radius: 10px;
43
+ }
45
44
 
46
45
  .bread-wrapper {
47
46
  padding: 6px 15px 6px 8px;
@@ -343,8 +342,18 @@ body {
343
342
  flex-direction: column;
344
343
  flex: 1;
345
344
  background: var(--sidebar-bg-color);
345
+ overflow: hidden;
346
346
  /** 存在子菜单样式 **/
347
347
  }
348
+ .flatbiz-layout-sider .ant-layout-sider-children {
349
+ display: flex;
350
+ flex-direction: column;
351
+ }
352
+ .flatbiz-layout-sider .ant-menu-root {
353
+ flex: 1;
354
+ overflow-x: hidden;
355
+ overflow-y: auto;
356
+ }
348
357
  .flatbiz-layout-sider .ant-menu-title-content {
349
358
  margin-left: 5px;
350
359
  }
@@ -666,7 +675,7 @@ body,
666
675
  }
667
676
  .page {
668
677
  position: relative;
669
- overflow-y: scroll;
678
+ overflow-y: auto;
670
679
  overflow-x: hidden;
671
680
  flex: 1;
672
681
  }
@@ -687,5 +696,5 @@ body,
687
696
  }
688
697
  .page-full {
689
698
  flex: 1;
690
- overflow-y: scroll;
699
+ overflow-y: auto;
691
700
  }