#19 - Settings container not visible in mobile

This commit is contained in:
Alicia Sykes 2021-06-08 16:15:44 +01:00
parent b03bedd227
commit 3b9b974ae7
3 changed files with 19 additions and 2 deletions

View File

@ -136,6 +136,10 @@ export default {
&.hide { &.hide {
display: none; display: none;
} }
@include very-tiny-phone {
flex-direction: column;
align-items: baseline;
}
} }
.show-hide-container { .show-hide-container {
@ -151,6 +155,9 @@ export default {
width: 2rem; width: 2rem;
top: 0.5rem; top: 0.5rem;
right: 0.5rem; right: 0.5rem;
@include phone {
top: -3rem !important;
}
} }
button { button {
width: 100%; width: 100%;
@ -183,7 +190,7 @@ export default {
@include phone { @include phone {
.options-container, .show-hide-button { .options-container, .show-hide-button {
display: none; // display: none;
} }
} }

View File

@ -1,5 +1,6 @@
/* Widths in px */ /* Widths in px */
$very-very-tiny: 400px;
$tiny: 600px; $tiny: 600px;
$small: 780px; $small: 780px;
$medium: 1150px; $medium: 1150px;
@ -8,6 +9,12 @@ $extra-large: 2800px;
/* Usage @include tablet { ... } */ /* Usage @include tablet { ... } */
@mixin very-tiny-phone {
@media (max-width: #{$very-very-tiny - 1px}) {
@content;
}
}
@mixin phone { @mixin phone {
@media (max-width: #{$tiny - 1px}) { @media (max-width: #{$tiny - 1px}) {
@content; @content;

View File

@ -272,8 +272,11 @@ export default {
border-radius: var(--curve-factor); border-radius: var(--curve-factor);
} }
.filter-container { section.filter-container {
border-bottom: 1px solid var(--outline-color); border-bottom: 1px solid var(--outline-color);
@include phone {
flex-direction: column;
}
} }
</style> </style>