-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
v7.4.0 font issue #1165
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Another thing I noticed was that from v7.2.0 to v7.3.0, font size of post title was increased but not the that of the body. I'm not sure whether these size changes were inadvertent. Anyway I think the font size from earlier version to v7.2.0 worked much better for me. BTW, I tried the override the font size of body in _config.yml but seemed not work.
The 'size' line was not in the template. I'm not sure if this works. |
@stevenjoezhang Hi Steven. I mean the font size of a post-body is relatively large compared to other parts. How can I adjust the post-body font size independently in _config.yml? |
Use custom stylesheet: .post-body { font-size: /* */; } |
Hi Steven. I did some test for this. Seems it is caused by the following code:
+desktop-large() {
font-size: $font-size-large;
} If I changed So I took a look at the definition:
desktop-large() {
@media (min-width: 1200px) {
{block};
}
} So the problem here is: my screen was 1366*768, how did I get into the 1200px config? |
Don't worry, we're dealing with it: #1190 |
Font size has been adjusted in v7.4.1 |
I just tested v7.4.3 and don't think it fixed my problem. I think the problem is:
where the font-size-large is too large for a laptop(either normal or high resolution screen). |
I feel the same.🙌🏻 |
I agree and want to create new issue
Expected behavior
Actual behavior
The font size of posts built with v7.4.0 is much larger than before.
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
v7.3.0 is OK.
I noticed the font size of https://theme-next.org/ is also very large. Maybe it looks OK for English but not for Chinese.
The text was updated successfully, but these errors were encountered: