From 8f75a32572205a16d25de30042b337683748b57b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 9 Apr 2021 12:14:42 +0200 Subject: [PATCH] Avoid the use of gradients involving the `transparent` keyboard --- wcfsetup/install/files/style/ui/embeddedContent.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/ui/embeddedContent.scss b/wcfsetup/install/files/style/ui/embeddedContent.scss index 999292530c..15175ff8a4 100644 --- a/wcfsetup/install/files/style/ui/embeddedContent.scss +++ b/wcfsetup/install/files/style/ui/embeddedContent.scss @@ -42,7 +42,8 @@ position: relative; } .embeddedContentDescription::after { - background-image: linear-gradient(to top, $wcfContentBackground, transparent); + /* Do not use `transparent` here, because of an ancient iOS rendering bug. */ + background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 1)); bottom: 0; content: ""; left: 0; -- 2.20.1