Skip to content

Commit 014fcad

Browse files
committed
Use standard tailwind classes for Excerpt shadow
1 parent 749c05a commit 014fcad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Excerpt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ export default function Excerpt({
201201
'absolute w-full bottom-0 h-touch-minimum',
202202
{
203203
// For expandable excerpts not using inlineControls, style this
204-
// element with a custom shadow-like gradient
205-
'bg-gradient-to-b from-excerpt-stop-1 via-excerpt-stop-2 to-excerpt-stop-3':
204+
// element with a shadow-like gradient
205+
'bg-gradient-to-b from-white/0 via-95% via-black/10 to-100% to-black/15':
206206
!inlineControls && isExpandable,
207207
'bg-none': inlineControls,
208208
// Don't make this shadow visible OR clickable if there's nothing

0 commit comments

Comments
 (0)