Replaced all mobile media queries with scss mixin.

This commit is contained in:
2020-01-22 17:35:34 +01:00
parent 16317a72d3
commit 8a3fe730d2
4 changed files with 11 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ h1 {
border-right: 1px solid #333;
}
@media only screen and (max-width: 768px) {
@include mobile {
.purchase,
.win {
width: 100vw;

View File

@@ -111,6 +111,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../styles/media-queries.scss";
.chartjsLegend li span {
display: inline-block;
width: 12px;
@@ -119,7 +121,7 @@ export default {
border-radius: 25px;
}
@media only screen and (max-width: 768px) {
@include mobile {
canvas {
height: 50vh;
}

View File

@@ -98,6 +98,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../styles/media-queries.scss";
.inner-bought-container {
display: flex;
flex-direction: column;
@@ -158,7 +160,8 @@ export default {
.blue {
color: #57d2fb;
}
@media only screen and (max-width: 768px) {
@include mobile {
.bought-container {
flex-wrap: wrap;
flex-direction: column;

View File

@@ -92,7 +92,9 @@ export default {
</script>
<style lang="scss" scoped>
@media only screen and (max-width: 768px) {
@import "../styles/media-queries.scss";
@include mobile {
canvas {
height: 50vh;
}