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

fix: abnormal h1 tag rendered in index page excerpt #353

Merged
merged 1 commit into from
Oct 16, 2022

Conversation

lulu010722
Copy link
Contributor

When the h1 tag is too long, it is not correctly shown in the excerpt on index page.

Before:

image

After:

image

The reason is that in src\scss\_partial\_index-page.scss, it has the following css setting:
image

The line-height attribute is fixed, but it is not sufficiently large for h1 tag.

@lulu010722
Copy link
Contributor Author

Btw, it seems if I do not upgrade the node packages, the npm run build will generate a LICENSE file that contain some version information of some packages, which is not consistent with the master branch, so I run npm upgrade to upgrade all the related packages.

@LolipopJ LolipopJ merged commit 6c5e407 into fi3ework:master Oct 16, 2022
@iiiinoint
Copy link

hello 请问一下我的主页对于文章都没有渲染显得很不好看,请问这个在哪里设置

Stark-X pushed a commit to Stark-X/hexo-theme-archer that referenced this pull request Apr 1, 2024
fix: abnormal h1 tag rendered in index page excerpt
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

Successfully merging this pull request may close these issues.

None yet

3 participants