primer / octicons

A scalable set of icons handcrafted with <3 by GitHub
https://primer.style/foundations/icons
MIT License
8.34k stars 829 forks source link

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

Open skatkov opened 2 months ago

skatkov commented 2 months ago

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.

0xventure-s commented 3 weeks ago

Any update of this?