Small fixes and better mobile layout

This commit is contained in:
Alicia Sykes
2021-04-18 16:18:32 +01:00
parent bd138bed56
commit 628f7f2868
6 changed files with 36 additions and 12 deletions

View File

@@ -55,6 +55,8 @@ export default {
<style scoped lang="scss">
@import '@/styles/media-queries.scss';
section {
display: flex;
align-items: center;
@@ -107,12 +109,19 @@ export default {
}
}
@media screen and (max-width: 600px) {
@include tablet {
form {
display: block;
text-align: center;
}
}
@include phone {
form {
flex: 1;
border-radius: 0;
text-align: center;
padding: 0.25rem 0;
display: block;
}
}
</style>

View File

@@ -65,6 +65,8 @@ export default {
<style scoped lang="scss">
@import '@/styles/media-queries.scss';
section {
display: flex;
align-items: center;
@@ -87,9 +89,21 @@ export default {
}
}
@media screen and (max-width: 600px) {
@include tablet {
section {
display: block;
margin: 0 auto;
background: none;
.options-container {
justify-content: center;
}
}
}
@include phone {
.options-container {
display: none;
}
}
</style>