Merge pull request #2862 from crazyserver/MOBILE-3320

MOBILE-3320 avatar: Hide alt text
main
Dani Palou 2021-07-02 09:14:49 +02:00 committed by GitHub
commit 76c7389460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@
max-width: var(--core-avatar-size);
max-height: var(--core-avatar-size);
}
img[alt] {
text-indent: -999999px;
white-space: nowrap;
overflow: hidden;
}
img[core-external-content]:not([src]),
img[core-external-content][src=""] {
visibility: visible;