-
Notifications
You must be signed in to change notification settings - Fork 5
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
文字区过少时改内容宽度为 70% 首页未居中 #67
Comments
已读,正在检查此问题 |
我猜测,理想的样式可能是 设置一个宽度最小值(如 48rem)和一个宽度最大值(如 70%) |
@HowieHz 这个方案不错,如果 70% 一开始会感觉很空,会居左显示 |
关联上游 issue guqing/halo-theme-higan#118 |
已发布新版本 简述版现在要解决这个看起来不居中的问题,你只需要去开启“自定义内容区域最小宽度”和“自定义内容区域宽度属性”即可。 完整描述版如果你要用上游原主题的宽度设置,那就关闭“自定义内容区域最大宽度”,开启“自定义内容区域最小宽度”和“自定义内容区域宽度属性”。 如果你要设定最大宽度为 70%,那就开启“自定义内容区域最大宽度”设定为 70%,并开启“自定义内容区域最小宽度”和“自定义内容区域宽度属性”。 |
内容区域最大宽度 48rem:

内容区域最大宽度 70% :

如图改了宽度后,首页变得居左了,首页能否保留 48em 那种居中的效果呢?
The text was updated successfully, but these errors were encountered: