Closed shawnsull3 closed 1 year ago
Can confirm #276 introduced the regression. I'll revert it for now
Thanks for reporting, release 1.6.2 is out now
@rohit-gohri No problem - thanks for the fix!
I tried looking into why the changes in 1.6.1 were causing this regression but I couldn't quite figure it out.
Using Docusaurus v2.4.0 and Redocusaurus v1.6.1 the mobile view is compressed. The bug only appears when built. Running the site locally with
yarn start
the mobile view is fine.Screenshot of the mobile view and the CSS causing it:
It appears that the CSS that's causing the issue is overwriting the
width: 100%
from the index file.This bug is affecting most of the sites found on the who's using Redocusaurus page as well as the Redocusaurus examples
Change log from v1.6.0 to v1.6.1: https://github.com/rohit-gohri/redocusaurus/compare/v1.6.0...v1.6.1
Reverting to Redocusaurus v1.6.0 fixes the issue.