File tree 5 files changed +9
-4
lines changed
5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const RightPanel = styled.div`
27
27
width: ${ ( props ) => props . theme . style . sidebarWidth } ;
28
28
background-color: ${ ( props ) => props . theme . style . sidebarBackgroundColor } ;
29
29
padding: 8px;
30
+ overflow: auto;
30
31
31
32
${ ( props ) =>
32
33
props . theme . mixins . mobile ( 'position: absolute;height: 100%;right: 0;' ) }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const Group: React.FC = TMemo(() => {
35
35
< GroupProvider groupInfo = { groupInfo } >
36
36
< PageContent
37
37
sidebar = {
38
- < div >
38
+ < >
39
39
< GroupHeader groupUUID = { groupUUID } />
40
40
< SidebarItemsContainer >
41
41
< SidebarItem
@@ -53,7 +53,7 @@ export const Group: React.FC = TMemo(() => {
53
53
/>
54
54
) ) }
55
55
</ SidebarItemsContainer >
56
- </ div >
56
+ </ >
57
57
}
58
58
>
59
59
< Switch >
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ const SidebarContainer = styled.div<{
39
39
width: ${ ( props ) => ( props . showSidebar ? props . theme . style . sidebarWidth : 0 ) } ;
40
40
background-color: ${ ( props ) => props . theme . style . sidebarBackgroundColor } ;
41
41
overflow: hidden;
42
+ display: flex;
43
+ flex-direction: column;
42
44
` ;
43
45
44
46
interface PageContentProps {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const Personal: React.FC = TMemo(() => {
43
43
return (
44
44
< PageContent
45
45
sidebar = {
46
- < div >
46
+ < >
47
47
< SectionHeader > { getUserName ( currentUserInfo ) } </ SectionHeader >
48
48
< SidebarItemsContainer >
49
49
< SidebarItem
@@ -99,7 +99,7 @@ export const Personal: React.FC = TMemo(() => {
99
99
} ) }
100
100
</ div >
101
101
</ SidebarItemsContainer >
102
- </ div >
102
+ </ >
103
103
}
104
104
>
105
105
< Switch >
Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ export const SidebarHeaderText = styled.div`
10
10
11
11
export const SidebarItemsContainer = styled . div `
12
12
padding: 8px;
13
+ flex: 1;
14
+ overflow: auto;
13
15
` ;
You can’t perform that action at this time.
0 commit comments