react-native-windows-samples icon indicating copy to clipboard operation
react-native-windows-samples copied to clipboard

Resources page doesn't display well on mobile (needs CSS styling fixes)

Open kikisaints opened this issue 4 years ago • 4 comments

The resources page doesn't respond (well) to mobile or smaller screen sizes. Needs a styling fix to handle this.

image

kikisaints avatar Jun 22 '20 18:06 kikisaints

Is anyone working on this issue if not please let me know I want to work on it.

krunalkharat avatar Aug 25 '20 19:08 krunalkharat

@krunalkharat you're welcome to submit a PR for it! I haven't had the time recently to get back to it, so feel free 👍

kikisaints avatar Aug 25 '20 20:08 kikisaints

@kikisaints I have gone through the whole code not only the resource but also the main index page is also not responsive. The website needs a complete upgrade most of the styling is inline that doesn't allow to change the behavior of the whole page. A complete upgrade in file structure is required. ss

saadhaxxan avatar Sep 28 '20 10:09 saadhaxxan

@kikisaints @chrisglein a lot of this I bet is due to us using Docusaurus v1 to produce the website. We should re-evaluate this once we move to v2 with #269

asklar avatar Sep 28 '20 17:09 asklar

Most pages look not so terrible at the moment. Resources is bad though. We may be able to fix this with some quick CSS tweaks.

Some problem styles at a glance: .column, .resourcesSideNavLinkColumn has a set width: 50%. .resourcesPageSideNav has a set width: 25%. #homepage element has a set margin-left:50px, and that needs to scale down on constrained device widths.

Fix those three and it's tolerable. Although need to move the side nav to not be fixed as a side nav. For example the APIs page one docsNavContainer shifts based on some @media rules.

chrisglein avatar Jan 11 '23 18:01 chrisglein