Skip to content

Commit 484929f

Browse files
Jens Tangermannhql287
authored andcommitted
Fixed the multiple scrollbars bug for linux/windows (#236)
Fixed #182 & #202
1 parent 0d70616 commit 484929f

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

app/components/shared/Layout.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ const AppWrapperStyle = styled.div`
1111
`;
1212

1313
const AppMainContentStyle = styled.div`
14-
overflow: scroll;
14+
overflow: auto;
1515
width: 100%;
1616
height: 100%;
1717
background: #f9fafa;
1818
`;
1919

2020
const PageWrapperStyle = styled.div`
21-
overflow: scroll;
21+
overflow: auto;
2222
display: flex;
2323
flex-direction: column;
2424
height: 100%;

modal/Dialog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Message = styled.p`
7272
margin: 0;
7373
width: 100%;
7474
height: 100%;
75-
overflow: scroll;
75+
overflow: auto;
7676
`;
7777

7878
const Actions = styled.div`

preview/containers/MainContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Wrapper = styled.div`
1010
width: 100%;
1111
align-items: flex-start;
1212
justify-content: center;
13-
overflow: scroll;
13+
overflow: auto;
1414
padding-top: 30px;
1515
`;
1616

static/css/layout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
.mainContentWrapper {
7575
/* padding-top: 40px; */
7676
width: 100%;
77-
overflow: scroll;
77+
overflow: auto;
7878
}
7979

8080
/* Utilities */

tour/components/Slide.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import styled from 'styled-components';
55

66
const Wrapper = styled.div`
77
height: 100%;
8+
overflow: hidden;
89
display: flex;
910
align-items: center;
1011
flex-direction: column;

0 commit comments

Comments
 (0)