Skip to content

Commit

Permalink
Fixed the multiple scrollbars bug for linux/windows (hql287#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Tangermann authored and hql287 committed Mar 2, 2018
1 parent 0d70616 commit 484929f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/components/shared/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ const AppWrapperStyle = styled.div`
`;

const AppMainContentStyle = styled.div`
overflow: scroll;
overflow: auto;
width: 100%;
height: 100%;
background: #f9fafa;
`;

const PageWrapperStyle = styled.div`
overflow: scroll;
overflow: auto;
display: flex;
flex-direction: column;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion modal/Dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Message = styled.p`
margin: 0;
width: 100%;
height: 100%;
overflow: scroll;
overflow: auto;
`;

const Actions = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion preview/containers/MainContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Wrapper = styled.div`
width: 100%;
align-items: flex-start;
justify-content: center;
overflow: scroll;
overflow: auto;
padding-top: 30px;
`;

Expand Down
2 changes: 1 addition & 1 deletion static/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
.mainContentWrapper {
/* padding-top: 40px; */
width: 100%;
overflow: scroll;
overflow: auto;
}

/* Utilities */
Expand Down
1 change: 1 addition & 0 deletions tour/components/Slide.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import styled from 'styled-components';

const Wrapper = styled.div`
height: 100%;
overflow: hidden;
display: flex;
align-items: center;
flex-direction: column;
Expand Down

0 comments on commit 484929f

Please sign in to comment.