From f745ee605e71931868f8a3582febca9e24decd92 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 1 Jul 2021 17:35:35 +0200 Subject: [PATCH] MOBILE-3320 avatar: Hide alt text --- src/core/components/user-avatar/user-avatar.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/components/user-avatar/user-avatar.scss b/src/core/components/user-avatar/user-avatar.scss index e9f3b02df..6ae01b259 100644 --- a/src/core/components/user-avatar/user-avatar.scss +++ b/src/core/components/user-avatar/user-avatar.scss @@ -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;