You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Managed to do it using the globals.css in the nextjs template by using a selector on the alt property. I still think it would be great if it was possible to have the width property exposed though!
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!
The text was updated successfully, but these errors were encountered: