Skip to content
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

SPA's css building seems to be broken after upgrading to v0.13.1, page became very tiny. #153

Closed
dizys opened this issue May 22, 2021 · 1 comment

Comments

@dizys
Copy link
Contributor

dizys commented May 22, 2021

Describe the bug

My project contains only slides.md(the default slides created by @slidev/cli) and dependency @slidev/cli and the default theme, nothing else. After upgrading slidev to the latest v0.13.1., the dev mode still works fine. The SPA building process, however, would suddenly output very long css ignoring warning, and the output page's css styles seem to be broken, the whole page became very tiny and disordered.

Building warning:

Screen Shot 2021-05-22 at 10 05 15 AM

SPA demo:

Screen Shot 2021-05-22 at 10 09 52 AM

To Reproduce

Matter of fact, the init project created by @slidev/cli has this problem now.

  1. yarn init slidev to create a new slidev project
  2. yarn build
  3. Deploy dist folder and you'll see.

Desktop:

  • OS: macOS Big Sur 11.3.1
  • Browser: Chrome 90
  • Slidev version: v0.13.1
@dizys dizys changed the title SPA's built css seems to be broken after upgrading to v0.13.1, page became very tiny. SPA's css building seems to be broken after upgrading to v0.13.1, page became very tiny. May 22, 2021
@antfu antfu closed this as completed in 5d7bb37 May 22, 2021
@prd-y-nguyen
Copy link

I'm facing the same bug at 0.19.3, why isn't it fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants