import detectPassiveEvents from 'detect-passive-events';
-const LAYOUT_BREAKPOINT = 1024;
+const LAYOUT_BREAKPOINT = 630;
export function isMobile(width) {
return width <= LAYOUT_BREAKPOINT;
}
.dropdown--active::after {
- @media screen and (min-width: 1025px) {
+ @media screen and (min-width: 631px) {
content: "";
display: block;
position: absolute;
}
}
-@media screen and (max-width: 1024px) {
+@media screen and (max-width: 630px) {
.column,
.drawer {
width: 100%;
}
}
-@media screen and (min-width: 1025px) {
+@media screen and (min-width: 631px) {
.columns-area {
padding: 0;
}
&:hover,
&:focus,
&:active {
- @media screen and (min-width: 1025px) {
+ @media screen and (min-width: 631px) {
background: lighten($ui-base-color, 14%);
transition: all 100ms linear;
}
}
}
-@media screen and (min-width: 1025px) {
+@media screen and (min-width: 631px) {
.tabs-bar {
display: none;
}
100% { opacity: 1; }
}
-@media screen and (max-width: 1024px) and (max-height: 400px) {
+@media screen and (max-width: 630px) and (max-height: 400px) {
$duration: 400ms;
$delay: 100ms;