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

scheme: Gemini 如何更改内容区域的宽度? #856

Closed
3 tasks done
hellozhaolq opened this issue Dec 9, 2024 · 2 comments
Closed
3 tasks done

scheme: Gemini 如何更改内容区域的宽度? #856

hellozhaolq opened this issue Dec 9, 2024 · 2 comments
Labels

Comments

@hellozhaolq
Copy link

Issue Checklist

Expected behavior

image

Actual behavior

image

Steps to reproduce the behavior

...

Other Information

No response

@hellozhaolq hellozhaolq added the Feature Request New feature or request label Dec 9, 2024
@hellozhaolq
Copy link
Author

我知道这种方式可以修改
https://theme-next.js.org/docs/advanced-settings/custom-files.html#How-to-Change-Content-Width
在配置文件中是否可以通过百分比的方式修改呢?

@stevenjoezhang
Copy link
Member

如果需要百分比的话,可以用CSS这样设置:

.main {
  width: 90vw;
}

90vw就是占总宽度的90%

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

No branches or pull requests

2 participants