Replaced all mobile media queries with scss mixin.
This commit is contained in:
@@ -179,7 +179,7 @@ h1 {
|
|||||||
border-right: 1px solid #333;
|
border-right: 1px solid #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
@include mobile {
|
||||||
.purchase,
|
.purchase,
|
||||||
.win {
|
.win {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|||||||
@@ -111,6 +111,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@import "../styles/media-queries.scss";
|
||||||
|
|
||||||
.chartjsLegend li span {
|
.chartjsLegend li span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
@@ -119,7 +121,7 @@ export default {
|
|||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
@include mobile {
|
||||||
canvas {
|
canvas {
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@import "../styles/media-queries.scss";
|
||||||
|
|
||||||
.inner-bought-container {
|
.inner-bought-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -158,7 +160,8 @@ export default {
|
|||||||
.blue {
|
.blue {
|
||||||
color: #57d2fb;
|
color: #57d2fb;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 768px) {
|
|
||||||
|
@include mobile {
|
||||||
.bought-container {
|
.bought-container {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -92,7 +92,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@media only screen and (max-width: 768px) {
|
@import "../styles/media-queries.scss";
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
canvas {
|
canvas {
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user