Skip to content

[Bug] Impossible to inline text with icon on same row with jekyll_octicons. #1032

Open
@skatkov

Description

Describe the bug

When using octoicons_jekyll it's impossible to inline icon with a text on a same row.

Steps to reproduce

Steps to reproduce the behavior:

  1. Install jekyll-octicons
  2. Add a following markup:
<button>
   {%- octicon alert height:32 class:"right left" aria-label:hi -%} Button
</button>

Result

Icon and button are on different line, I would expect it to be inline

Expected behavior

I would expect icon and text to be inlined. And I can't find any way to make it inline. Is there a setting I'm missing?

Screenshots

Screenshot 2024-09-23 at 15 08 21

Device details

Desktop (please complete the following information):
OSX, Firefox.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions