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
Describe the bug
If an image wider than 3rem is added to the logo slot of the ui5-shellbar, it is compressed. It's now necessary to overwrite the max-width of the <img> (which is 3rem) to display the image at the correct scale. In rc7 this was not required.
To reproduce
Steps to reproduce the behavior:
Implement a ui5-shellbar component
Add the logo slot with an image wider than high (should be wider than 3rem inside the shellbar)
Expected behavior
Either it should be mentioned in the documentation, that max-width has to be overwritten to display the logo with correct dimension, or the logo should behave like it did with the rc7 version, just with an image tag.
Screenshots
Context
UI5 Web Components version: 1.0.0-rc.8:
The text was updated successfully, but these errors were encountered:
Describe the bug
If an image wider than
3rem
is added to the logo slot of theui5-shellbar
, it is compressed. It's now necessary to overwrite themax-width
of the<img>
(which is3rem
) to display the image at the correct scale. Inrc7
this was not required.To reproduce
Steps to reproduce the behavior:
ui5-shellbar
componentIsolated example
1.0.0-rc.8:
https://codesandbox.io/s/ui5-webcomponents-cs3zz?file=/index.html:226-307
1.0.0-rc.7:
https://codesandbox.io/s/ui5-webcomponents-w4k2w?file=/index.html
Expected behavior
Either it should be mentioned in the documentation, that
max-width
has to be overwritten to display the logo with correct dimension, or thelogo
should behave like it did with therc7
version, just with an image tag.Screenshots
Context
The text was updated successfully, but these errors were encountered: