Skip to content

SVG Logo is not sized appropriately #8

@xeruf

Description

@xeruf

Solidus Version:
3.1.5

To Reproduce

Configure an SVG logo in config.logo

Current behavior
The logo is not shown at all since the img is sized to 0:
image
image

Expected behavior
SVG is sized appropriately.

More
Similar issues with PNG: It is not downsized appropriately if a bigger png is used.

I wanted to try and work this out myself, but I am unable to find where the logo is defined which is included in the _header.html.erb:
<figure id="logo" class="columns six" data-hook><%= logo %></figure>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions