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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user