Skip to content

The inline icons are not aligned properly in the middle, in the previous version they was properly fit #2324

Open
@KDyulgerov

Description

@KDyulgerov

Bug description

Please describe.
If this affects the front-end, screenshots would be of great help.

How to reproduce

  1. Create an H1 title and insert a small inline image.
  2. Publish it and navigate to the live page.
  3. The icon will not be aligned properly in the middle:

Not aligned icons in the text

The correct alignment, as in the previous version was also as follows:

Example for the not aligned icons

Additional context

Activity

addisonschultz

addisonschultz commented on May 24, 2024

@addisonschultz
Contributor

Just to debug this a bit more - does it help if you use a smaller icon instead? I think it should fit in the line-height a bit better

KDyulgerov

KDyulgerov commented on May 24, 2024

@KDyulgerov
Author

This happens when the image is inline and uses the original size option, the weird thing is that in the admin panel, everything looks okay like the example image but once you publish it, it does not align.

Eloutmanixx

Eloutmanixx commented on May 26, 2024

@Eloutmanixx

Hello thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      The inline icons are not aligned properly in the middle, in the previous version they was properly fit · Issue #2324 · GitbookIO/gitbook