From 6e603597ef1fb2c34a84f94a15f889dcb8294a6b Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 20 Mar 2018 23:01:05 +0100 Subject: [PATCH] Hide alt text in images --- styles/base.scarlet | 3 --- styles/images.scarlet | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/base.scarlet b/styles/base.scarlet index 9535bb3c..1b765a80 100644 --- a/styles/base.scarlet +++ b/styles/base.scarlet @@ -38,9 +38,6 @@ a img backface-visibility hidden - // Hide the alt text that is shown while the image is loading - // text-indent -9999px - .hidden display none !important diff --git a/styles/images.scarlet b/styles/images.scarlet index 39934fe1..3412ba89 100644 --- a/styles/images.scarlet +++ b/styles/images.scarlet @@ -2,6 +2,9 @@ visibility hidden opacity 0 + // Hide the alt text that is shown while the image is loading + text-indent -500px + .element-color-preview visibility visible animation color-preview 1000ms forwards