@flatbiz/pro-layout 2.5.27 → 2.5.29

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,21 @@ body {
42
30
  .ant-layout-sider-collapsed .ant-menu-submenu-selected {
43
31
  background-color: var(--sidebar-menu-selected-bg-color);
44
32
  }
33
+ .flatbiz-layout-windows ::-webkit-scrollbar {
34
+ width: 8px;
35
+ height: 8px;
36
+ background-color: #eee;
37
+ }
38
+ .flatbiz-layout-windows ::-webkit-scrollbar-thumb {
39
+ background-color: #c1c1c1;
40
+ border-radius: 10px;
41
+ }
42
+ .flatbiz-layout-windows ::-webkit-scrollbar-thumb:hover {
43
+ background-color: #a8a8a8;
44
+ }
45
+ .flatbiz-layout-windows ::-webkit-scrollbar-thumb:active {
46
+ background-color: #787878;
47
+ }
45
48
 
46
49
  .bread-wrapper {
47
50
  padding: 6px 15px 6px 8px;
@@ -343,8 +346,18 @@ body {
343
346
  flex-direction: column;
344
347
  flex: 1;
345
348
  background: var(--sidebar-bg-color);
349
+ overflow: hidden;
346
350
  /** 存在子菜单样式 **/
347
351
  }
352
+ .flatbiz-layout-sider .ant-layout-sider-children {
353
+ display: flex;
354
+ flex-direction: column;
355
+ }
356
+ .flatbiz-layout-sider .ant-menu-root {
357
+ flex: 1;
358
+ overflow-x: hidden;
359
+ overflow-y: auto;
360
+ }
348
361
  .flatbiz-layout-sider .ant-menu-title-content {
349
362
  margin-left: 5px;
350
363
  }
@@ -666,7 +679,7 @@ body,
666
679
  }
667
680
  .page {
668
681
  position: relative;
669
- overflow-y: scroll;
682
+ overflow-y: auto;
670
683
  overflow-x: hidden;
671
684
  flex: 1;
672
685
  }
@@ -687,5 +700,5 @@ body,
687
700
  }
688
701
  .page-full {
689
702
  flex: 1;
690
- overflow-y: scroll;
703
+ overflow-y: auto;
691
704
  }