From 5a86a8fa8302fd2f3c739a55a93fa3c65e8c0064 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Thu, 15 Aug 2024 11:19:59 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20the=20gradient=20on=20feat?= =?UTF-8?q?ured=20works=20on=20homepage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Brings in a fix from this Hyrax to fix the graient styling in the handles of places like the featured works on the homepage. Ref: - https://github.com/samvera/hyrax/pull/6861/commits/fa1bffccdc36ef8de2a386ff11ea9035f63d0780 --- app/assets/stylesheets/hyku.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index d1c9a9979..c3f04df8d 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -474,8 +474,9 @@ body.public-facing { border: 1px solid #aaa; background: #ddd; background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%); - background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%); - background: linear-gradient(top, #ddd 0%, #bbb 100%); + background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%); + background: -o-linear-gradient(to bottom, #ddd 0%, #bbb 100%); + background: linear-gradient(to bottom, #ddd 0%, #bbb 100%); border-top-right-radius: 0; border-bottom-right-radius: 0; z-index: 1;