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: Improved view transition animation for post titles #420

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Yamabuki-bakery
Copy link

@Yamabuki-bakery Yamabuki-bakery commented Nov 30, 2024

Description

The view transition animation of the "Post Title (h1, h2, h3...)" between the post list pages and the post pages is weird,
because of the width mismatch of titles among these pages.

Solution:
Making the title in post page an inline-block, like what a title on list page is.

See slow motion video:

Currently:

default.mp4

After fix:

default.mp4

Types of changes

  • Bug Fix (non-breaking change which fixes an issue)
  • Others (any other types not listed above)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the Contributing Guide
  • I have added the necessary documentation (if appropriate)
  • Breaking Change (fix or feature that would cause existing functionality to not work as expected)

Further comments

None

Related Issue

None

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.

1 participant