-
Notifications
You must be signed in to change notification settings - Fork 400
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
Demo not responsive on mobile #34
Comments
I've been tweaking/restructuring locally in what little spare time I have to try and improve the layout so it can be responsive with minimal markup/styles workarounds. Will keep you posted. Notes: Should use md-cards for the "Page" area content, will allow graying backround color if preferred. Constrain to max width and transform to 100% on breakpoint. |
Oh okay, noted! Thanks a lot! |
Sure, help is appreciated. Here you can find my forked branch: The branch has a restructured layout, is responsive and the sidenav hide/show is present. Some issues off the top of my head that are currently present:
|
Wow that's great, thanks! But those are weird errors indeed I'll take a look again at error number 2 and 3. But regarding the menu icon I don't think we have a solution other than a |
Yep, just some margin tweaking would do the trick as it's a fixed size. Had hoped to get more done but work always gets in the way. |
No worries man, it's actually great that you're helping. |
@Bodom78 Can you add me as a contributor to your fork? so push my code fixes - I should've forked but I guess it's too late |
You know what.. I just realized that I introduced lots of new issues... |
I've added you as a contributor. Hopefully I can look into the layout today/tomorrow, we don't seem to have these issues on the project I'm working on in the office. The fade between page transitions, is that something that was added and not part of angular material? I might strip all the css and work from there. I figure we should require minimal styling since the starter pretty much follows a generic material layout (but that's usually never the case). |
I think I've sorted the jumping issue, for the sidenav at least, just need to apply it when I get some time. Originally we had: Currently I have: What should work is: |
oh okay that's cool! |
Hey @jadjoubran, No problem. Please check out the latest commit on the fork and let me know your thoughts when you have a chance:
Only remaining issue that I could not sort out is making the Prisim code highlighting blocks scale down with the cards for smaller screens. The should scroll the overflow content but I just couldnt get it to work. Let me know if you have any ideas on this. |
@Bodom78 Hats off! |
@jadjoubran No problem, always happy to contribute where I can. Yep I agree, the Prisim code blocks do not really need to be responsive as their really just instructions that will be removed anyway by those using this starter project. Branch has now been merged into master. |
Awesome - just released 2.9.1 Btw on a side note, are you originally from Lebanon? |
Great stuff. Ha, my name gives it away. My father is originally from Lebanon, Halba I believe. I've never been there myself tough, but I can speak Lebanese quite poorly. |
oh nice! Indeed your appearance and name gave it away. |
I just noticed that I still haven't pushed this to AWS elastic beanstalk to update the demo. |
No problem. I'm from Melbourne and been here most of my life. it's a decent state. If you ever visit do it in the summer because the weather here sucks for the most part. |
Noted :D |
After @Bodom78's PR, we still have these issues:
The text was updated successfully, but these errors were encountered: