From e12579a2a292bc571295885dc5039f1e14b49f39 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Sun, 13 Mar 2022 01:38:48 -0500 Subject: [PATCH] Restore original image size, shift position to not cover text --- client/homebrew/editor/metadataEditor/metadataEditor.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.less b/client/homebrew/editor/metadataEditor/metadataEditor.less index 9cb7d1965..a7746c882 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.less +++ b/client/homebrew/editor/metadataEditor/metadataEditor.less @@ -121,11 +121,10 @@ color: white; } img { - mask-image: linear-gradient(90deg, transparent 150px, black 250px); - -webkit-mask-image: linear-gradient(90deg, transparent 150px, black 250px); - width: 100%; + mask-image: linear-gradient(90deg, transparent, black 20%); + -webkit-mask-image: linear-gradient(90deg, transparent, black 20%); position: absolute; - right: 0px; + left: ~"max(100px, 100% - 300px)"; top: 0px; } }