-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
font-family: "object-fit:cover"; #22546
Comments
IIRC this is on purpose to provide the |
It was added in #4182 and support for So we may want to drop the polyfill. |
IIRC there's no font-family named: "object-fit:cover" |
Of course, it's just used to store the value of the |
yet |
Thanks @ClearlyClaire, I found the same issue and investigated by myself but couldn't find the cause. That past PR you showed was beneficial! 🙂 I created a PR to revert the old polyfill #22693. |
Steps to reproduce the problem
Incorrect font family for alt text when avatar image is missing.
Expected behaviour
Correct font family should have been used.
Actual behaviour
Incorrect font family used.
Detailed description
.account__avatar img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
font-family: "object-fit:cover";
object-fit: cover;
}
Specifications
Mastodon 4.0.2
The text was updated successfully, but these errors were encountered: