镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Inline-block may cause Chrome's built-in search to fail to match the corresponding content #101

Open

Description

@colorpeach

display: inline-block;

Assuming that the rendered code is like this

<td class="diff-code diff-code-insert" style="user-select: auto;">
    <span class="diff-code-edit">
        <span class="token function">onU</span>
    </span>
    <span class="token function">pdat</span>
    <span class="diff-code-edit">
        <span class="token function">e</span>
    </span>
</td>

When I use ctrl+f to search for "onUpdate" on the webpage, I cannot find the above one because the display of .diff-code-edit is inline-block.

I think display: inline-block should be changed to display: inline.

Activity

  1. otakustay commented on Jul 28, 2020

    @otakustay
    Owner

    Aware of this issue, but currently I can't find an appropriate solution, inline-flex also breaks search

  2. otakustay commented on Jul 28, 2020

    @otakustay
    Owner

    But why we are using inline-block, just can't remember, any idea @dancerphil ?

  3. stale commented on Aug 11, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. ensorrow commented on Jun 30, 2023

    @ensorrow

    already fixed in #200

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions