diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-11 10:22:54 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-11 10:22:54 -0400 |
| commit | 201dc881e15292ee4a013c72b9e473779cf14e18 (patch) | |
| tree | e83dc80d049244716130770dfe7b21ef0e66b463 /src/client/views/collections/CollectionCarouselView.tsx | |
| parent | 30495903f786da3f63fb230a4c8edc0d7fbe83cf (diff) | |
updated how background colors work
Diffstat (limited to 'src/client/views/collections/CollectionCarouselView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index 27aea4b99..8a27f8102 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -64,7 +64,7 @@ export class CollectionCarouselView extends CollectionSubView(CarouselDocument) </div> <div className="collectionCarouselView-caption" key="caption" style={{ - background: StrCast(this.layoutDoc._captionBackgroundColor, this.props.backgroundColor?.(this.props.Document)), + background: StrCast(this.layoutDoc._captionBackgroundColor, this.props.backgroundColor?.(this.props.Document, this.props.renderDepth)), color: StrCast(this.layoutDoc._captionColor, StrCast(this.layoutDoc.color)), borderRadius: StrCast(this.layoutDoc._captionBorderRounding), }}> |
