Skip to content

Commit

Permalink
feat(references): update direction for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
znitc committed Feb 10, 2022
1 parent 512028f commit 43c21a5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/components/common/References/References.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ import React from 'react';
export const ReferencesWrapper = styled.div`
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
align-items: start;
flex-wrap: nowrap;
margin-top: ${(props) => `${props.theme.mobileLayout.paddingVertical}`};
@media only screen and ${(props) => props.theme.media.md} {
margin-top: ${(props) => `${props.theme.desktopLayout.paddingVertical}`};
@media only screen and ${(props) => props.theme.media.sm} {
align-items: center;
}
@media only screen and ${(props) => props.theme.media.xl} {
flex-direction: row;
justify-content: space-between;
}
`;

Expand All @@ -19,6 +24,11 @@ export const Text = styled.span`
align-items: center;
white-space: pre-wrap;
flex-wrap: wrap;
margin-bottom: 1rem;
@media only screen and ${(props) => props.theme.media.xl} {
margin-bottom: 0;
}
`;

export const Icons = styled.div`
Expand Down

0 comments on commit 43c21a5

Please sign in to comment.