1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-31 18:50:14 +02:00

fix onboarding and make mobile <600px

This commit is contained in:
Kushagra Gour
2018-06-23 12:07:16 +05:30
parent 2dfea13dbb
commit f0cb08382d
2 changed files with 7 additions and 7 deletions

View File

@@ -528,7 +528,7 @@ export default class App extends Component {
}
toggleLayout(mode) {
/* eslint-disable no-param-reassign */
mode = window.innerWidth < 500 ? 2 : mode;
mode = window.innerWidth < 600 ? 2 : mode;
if (this.state.currentLayoutMode === mode) {
this.contentWrap.resetSplitting();

View File

@@ -125,7 +125,7 @@ p {
margin-top: 0;
}
@media screen and (max-width: 500px) {
@media screen and (max-width: 600px) {
.block--mobile {
display: block;
}
@@ -137,10 +137,13 @@ p {
}
}
@media screen and (min-width: 501px) {
@media screen and (min-width: 601px) {
.show-on-mobile {
display: none;
}
.flex--desk {
display: flex;
}
}
hr {
@@ -1481,13 +1484,10 @@ body:not(.is-app) .show-when-app {
visibility: visible;
}
@media screen and (max-width: 500px) {
@media screen and (max-width: 600px) {
body {
font-size: 70%;
}
.flex--desk {
display: flex;
}
.main-header {
overflow-x: auto;
}