fix(story): soft pill for scrolly caption — rounded edges with faded halo

border-radius: 9999px for a true pill shape.
box-shadow matching the background alpha creates the feathered edge fade
all the way around without any extra elements.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
2026-06-20 11:09:37 +02:00
parent 49c4ab0341
commit 6e5caf33ad
+3 -2
View File
@@ -1318,9 +1318,10 @@ body::after {
max-width: 85%;
overflow: hidden;
text-overflow: ellipsis;
background: rgba(0,0,0,0.45);
background: rgba(0,0,0,0.38);
box-shadow: 0 0 14px 8px rgba(0,0,0,0.38);
padding: 0.2rem 0.65rem;
border-radius: 2px;
border-radius: 9999px;
z-index: 2;
}
.scrolly__steps-content { display: none; }