Skip to content

Expose the ability to set logo image's width property #50

Description

@AntonFriberg

Is your feature request related to a problem? Please describe.
I rarely do front-end development work and find the task of writing my own loginComponent daunting in order to resize the logo image.

Currently, it is hard-coded and I would want it to be as wide as the login div itself i.e set the width property to "420".

I do not know of any nextjs, react or css method that would allow me to change the img width property of an external component like this.

Describe the solution you'd like
Instead of hard-coding the img width property, it would be retrieved from a prop variable similar to logo which defines the source.

Describe alternatives you've considered
I considered writing my own loginComponent but find the current one very complex and I have not yet moved to typescript in my project so that also provides an additional barrier since I would need to translate it over to normal javascript.

Additional context
This is simply a feature-request! I really enjoyed using this so far. Thanks!

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