ui(resources): tweak resource page for mobile

This commit is contained in:
Jean-Philippe Sirois
2019-09-04 21:21:01 -04:00
parent 9202824d44
commit 1a717cda18
3 changed files with 25 additions and 2 deletions
+18
View File
@@ -11,6 +11,11 @@ export const ResourceHeaderWrapper = styled.div`
export const Top = styled.div`
display: flex;
align-items: center;
@media screen and (max-width: 767px) {
flex-direction: column;
align-items: flex-start;
}
`
export const Title = styled.h1`
@@ -22,10 +27,23 @@ export const Title = styled.h1`
`
export const Meta = styled.div`
display: flex;
align-items: center;
& + &::before {
content: "•";
margin: 0 8px;
}
@media screen and (max-width: 767px) {
& + & {
margin-top: 8px;
}
& + &::before {
display: none;
}
}
`
const ExtraLinks = styled.div`