Responsiveness fixes

This commit is contained in:
Aarni Halinen
2020-11-24 23:40:22 +02:00
parent 926f8a63ee
commit 208dc617aa
7 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const Buttons = styled.div<{row?: boolean}>`
max-width: fit-content;
margin: auto;
display: flex;
flex-direction: ${(p) => p.row ? "row" : "column"};
flex-flow: ${(p) => p.row ? "row" : "column"} wrap;
a {
display: contents;
+1 -1
View File
@@ -46,7 +46,7 @@ const Section = styled.section`
const Items = styled.div`
display: flex;
flex-direction: row;
flex-flow: row wrap;
`;
interface HeroSecondarySectionProps {
+3
View File
@@ -6,6 +6,9 @@ const StyledSection = styled.section`
display: grid;
padding: 24px;
word-break: break-word;
hyphens: auto;
grid-template-columns: 1fr 2fr 1fr;
grid-template-rows: 1fr auto;
grid-template-areas:
+1
View File
@@ -2,6 +2,7 @@ import styled from "styled-components";
const FilterContainer = styled.div`
display: flex;
flex-flow: row wrap;
margin: auto;
justify-content: center;
`;
+1
View File
@@ -10,6 +10,7 @@ interface JobAdListProps {
}
const List = styled.ul`
padding: 0;
li {
margin: 1rem 0;
list-style: none;
+1 -1
View File
@@ -7,7 +7,7 @@ import { colors } from "@theme/colors";
const Column = styled.div`
display: flex;
flex-direction: row;
flex-flow: row wrap;
a {
color: inherit;
@@ -6,6 +6,7 @@ import StudiesPageHero from "./StudiesPageHero";
const TestimonialImage = styled.img`
max-width: 500px;
max-height: 500px;
width: 100%;
`;
const StudiesPageView: React.FC = () => (