cltk_frontend icon indicating copy to clipboard operation
cltk_frontend copied to clipboard

Add responsive styles for interactives on mobile devices and browsers

Open lukehollis opened this issue 8 years ago • 5 comments

lukehollis avatar Mar 19 '16 22:03 lukehollis

Hey, I would like to work on this. Can we use react-grid-layout ?

sameeriitkgp avatar Mar 20 '16 06:03 sameeriitkgp

React-grid-layout looks good but since we're already using Bootstrap, I think we should stick with their grid system. Are there other features with react-grid-layout that you're thinking of and aren't available in the Bootstrap grid?

lukehollis avatar Mar 20 '16 17:03 lukehollis

Nope. Not much. I thought it would be easier with react-grid-layout. But since we're already using it, Will do with Bootstrap.

sameeriitkgp avatar Mar 20 '16 17:03 sameeriitkgp

Okay, cool, I can be persuaded otherwise if you have a strong idea of how we should use react-grid-layout too. Thanks for taking a look at this! I think one of the biggest questions in my mind is how we treat the data in the left and right columns (definitions and commentary/translations) on mobile devices. I was thinking about having fixed rows that fill up the bottom 50%-60% of the screen and can be scrolled. I imagine our solutions here will have to evolve as the full-sized browser view evolves as well.

lukehollis avatar Mar 24 '16 04:03 lukehollis

I was thinking about configuring the bootstrap grid first, and if that does not work, we can try other options. The layout will be easy. As you mentioned, the related material panels or columns will be a challenge. I like your idea of splitting the screen, but it would be rather convenient if the layout is flexible. Have a look at this - react-split-pane

sameeriitkgp avatar Mar 24 '16 06:03 sameeriitkgp