plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Header navbar runs out of space and covers content

Open jywarren opened this issue 8 years ago • 11 comments

Our new header is very nice, but it needs to collapse a bit earlier; we use Bootstrap: https://getbootstrap.com/docs/3.3/

screen shot 2018-09-25 at 12 07 09 pm

We should have it collapse into the "minimal" look earlier:

screen shot 2018-09-25 at 12 11 13 pm

The code is here: https://github.com/publiclab/plots2/blob/master/app/views/layouts/_header.html.erb

This will take some testing with expanding and contracting the browser window. Please upload some screenshots of various states so we know it collapses smoothly! An animated GIF would be extra nice!

Thanks!

jywarren avatar Sep 25 '18 16:09 jywarren

Hey! Could you please elaborate on the issue? All the header tabs need to be combined into one drop-down menu?

Thanks!

shivani-kapania avatar Sep 25 '18 16:09 shivani-kapania

Hi, if you check out how headers work in Bootstrap docs, they're pretty clever, and can auto-collapse. But setting when this happens seems a little more complex. See what the docs say and I'm open to proposals for solutions! Thank you!

On Tue, Sep 25, 2018 at 12:31 PM shivani-kapania [email protected] wrote:

Hey! Could you please elaborate on the issue? All the header tabs need to be combined into one drop-down menu?

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3464#issuecomment-424409999, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJyRq3_C9xewtOS-FkDaiWCCdciRkks5uelpWgaJpZM4W4_eI .

jywarren avatar Sep 25 '18 16:09 jywarren

@jywarren I think you may need to add a css@mediarule in order to get this resolved. Although there is a chance you can make a smaller change to the _header.html.erb file and get it working. I am happy to work on this issue, but I have a feeling its going to need some css to fix it.

DamonClark avatar Sep 25 '18 18:09 DamonClark

Hi! I'd like to claim this issue.

quinn-codes-synthesis avatar Oct 01 '18 04:10 quinn-codes-synthesis

We'd love your help, thank you!

On Mon, Oct 1, 2018 at 12:27 AM Quinn [email protected] wrote:

Hi! I'd like to claim this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3464#issuecomment-425786284, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ18_Q80WCVDOcuLkzxueVkzautzCks5ugZmbgaJpZM4W4_eI .

jywarren avatar Oct 01 '18 22:10 jywarren

I submitted a pull request to fix this here https://github.com/publiclab/plots2/pull/3491 with gif included. I don't know if my fix was the best way to do it. But it definitely solves the problem.

DamonClark avatar Oct 01 '18 22:10 DamonClark

Thanks Damon! I think I'm in over my head, so I'm glad you were able to find a solution.

quinn-codes-synthesis avatar Oct 02 '18 12:10 quinn-codes-synthesis

@quinn-codes-synthesis -- please don't be discouraged! We're happy to open a new issue for you if you're interested. Please email me at [email protected] and I'll make one and reserve it for you. Thanks!

jywarren avatar Oct 02 '18 22:10 jywarren

No worries Quinn! I'm still just learning too so I'm right there with you.

DamonClark avatar Oct 02 '18 23:10 DamonClark

@jywarren -- That would be awesome. Thank you! Look for an email from me sometime early next week; I'm preparing to move this weekend and will have a lot more time to contribute once that's over with.

:house_with_garden: :truck: :derelict_house:

quinn-codes-synthesis avatar Oct 03 '18 08:10 quinn-codes-synthesis

Good luck with the move! 📦 📦 📦

jywarren avatar Oct 03 '18 19:10 jywarren