Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive Tiles #533 #608

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/Appshell/Appshell.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,11 @@ const mapDispatchToProps = dispatch => ({
});

export default withRouter(

withTheme()(

withTheme(

withStyles(styles)(connect(mapStateToProps, mapDispatchToProps)(Appshell)),
),
);
4 changes: 4 additions & 0 deletions src/screen/Home/components/InstrumentCard.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export const CustomCard = styled.div`
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

@media only screen and (max-width: 1800px) {
margin-top: 10px;
}
`;

export const ImageWrapper = styled.div`
Expand Down
25 changes: 22 additions & 3 deletions src/screen/Home/components/Tabs.styles.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import styled from 'styled-components';

export const TabsContainer = styled.div`
height: calc(100% - 16px);
width: 100%;
`;
export const TabsContainerInner = styled.div`
width: 100%;
display: flex;
flex-direction: column;
margin: 0;
`;

export const TabsRow = styled.div`
flex-wrap: wrap;
margin: 1em auto;
justify-content: center;
Expand All @@ -19,11 +23,26 @@ export const TabsWrapper = styled.div`
margin: 16px 16px 0px 0px;
width: 98em;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
justify-content: center;
align-items: center;
`;
export const TabsRow = styled.div`

export const TabsWrapper = styled.div`
display: flex;
flex-wrap: wrap;
justify-content: center;
`;

export const InstrumentCard = styled.div`
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
@media only screen and (max-width: 1800px) {
display: flex;
flex-direction: wrap;
justify-content: center;
align-items: center;
}
`;