Skip to content

Header icon_links show in separate rows, h3 heavy weight, 3rd column vert stretching #879

@dylanh724

Description

@dylanh724

This was great for a while -- but it no longer works (not sure when it broke. The latest 1.1.3 has this issue in both Sphinx 7 and 8). Seems that it has to do with .article-header-buttons class that's showing on separate rows.


image
^ The order gets jumbled if I add even 1 icon_links within html_theme_options

"icon_links": [
    {
        "name": "API Docs",
        "url": (
                "https://foo.com"
        ),
        "icon": "fa-solid fa-book-open",
        "attributes": {"target": "_self"},
    },
    {
        "name": "Discord",
        "url": "https://discord.gg/foo",
        "icon": "fa-brands fa-discord",
        "attributes": {"target": "_blank"},
    },
],

Originally posted by @dylanh724 in #833 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions