-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List: Images rendered differently in Chrome/Safari #4873
Comments
Hi colleagues, Kind regards, |
The second selector takes precedence on Safari /* Avatar.css */
:host([shape=Square]),
:host([shape=Square]) ::slotted(*) {
border-radius: .25rem;
}
::slotted(*) {
border-radius: 50%;
} |
ilhan007
pushed a commit
that referenced
this issue
Mar 10, 2022
Safari applies styles of last defined slot selector. Fixes: #4873
ilhan007
pushed a commit
that referenced
this issue
Mar 18, 2022
Safari applies styles of last defined slot selector. Fixes: #4873
Hi @ilhan007, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Images within list items are rendered as a circle on Safari whilst rendered as a square with round corners on Chrome.
Expected Behavior
Both browsers render images in the same shape by default.
Steps to Reproduce
Open the documentation of the List component with both Chrome and Safari.
Context
ui5-list
Screenshots
Chrome 99:
![image](https://user-images.githubusercontent.com/27777253/157416721-c47cb16c-2cbf-43d9-a079-b8cf13fd9839.png)
Safari 15.3:
![image](https://user-images.githubusercontent.com/27777253/157416835-0712ee81-0a19-497b-a2a8-50e9ae28afff.png)
Priority
The text was updated successfully, but these errors were encountered: