Adjust contrast in StoryViewer

This commit is contained in:
Fedor Indutny 2024-08-05 13:32:40 -07:00 committed by GitHub
parent 610e441de9
commit 02b01d4323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 2 deletions

View file

@ -726,7 +726,19 @@ export function StoryViewer({
)}
</div>
<div className="StoryViewer__protection StoryViewer__protection--bottom" />
<div
className={classNames(
'StoryViewer__protection',
'StoryViewer__protection--bottom',
{
'StoryViewer__protection--has-caption': caption != null,
}
)}
/>
{hasExpandedCaption && (
<div className="StoryViewer__protection StoryViewer__protection--whole" />
)}
{canNavigateRight && (
<button