-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Support mobile devices #176
Conversation
@@ -291,4 +349,4 @@ md-input-container { | |||
} | |||
// scss-lint:enable IdSelector | |||
// scss-lint:enable NestingDepth | |||
// scss-lint:enable SelectorDepth | |||
// scss-lint:enable SelectorDepth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Files should end with a trailing newline
|
||
@include phone { | ||
bottom: 0; | ||
left: 0 !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important should not be used
position: absolute; | ||
right: 0; | ||
top: 0; | ||
width: 100% !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important should not be used
Since the sidebar and the main-view doesn't share space on mobile, the following things need to happen: - When selecting a project, the sidebar should open - When selecting a file in the sidebar, the sidebar should close This way, you see the right view when you need. You can still open and close the sidebar yourself using the hamburger and close button
make menu bar smaller on mobile
@include phone { | ||
.main-area { | ||
height: calc(100vh - 52px - 30px) !important; | ||
top: 52px !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important should not be used
|
||
@include phone { | ||
.main-area { | ||
height: calc(100vh - 52px - 30px) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!important should not be used
} | ||
|
||
.mobile-sidebar { | ||
display: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Properties should be ordered color, display
Thought about making this one big media query instead of lots of little ones, but after reading this, performance problems don't worry me as much |
…bile # Conflicts: # public/app/views/index.html
+ fixes like: - no more duplication of sidebar
} | ||
|
||
.menu-button { | ||
display: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Properties should be ordered color, display, fill
Change Summary
make kibibit support(-ish) mobile devices. [resolves SUPPORT-ISH FOR MOBILE #180]
More info
This turned out to look pretty good! I'm proud :-)