Skip to content

Commit 5cda7ce

Browse files
committed
fix(ui-byline): remove figure and figcaption
INSTUI-4549
1 parent 52545d1 commit 5cda7ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/ui-byline/src/Byline/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,11 @@ class Byline extends Component<BylineProps> {
8282
{...passthroughProps}
8383
elementRef={this.handleRef}
8484
css={this.props.styles?.byline}
85-
as="figure"
8685
margin={this.props.margin}
8786
maxWidth={this.props.styles?.maxWidth}
8887
>
8988
<div css={this.props.styles?.figure}>{this.props.children}</div>
90-
<figcaption css={this.props.styles?.caption}>
89+
<div css={this.props.styles?.caption}>
9190
{this.props.title && (
9291
<span css={this.props.styles?.title}>{this.props.title}</span>
9392
)}
@@ -96,7 +95,7 @@ class Byline extends Component<BylineProps> {
9695
{this.props.description}
9796
</div>
9897
)}
99-
</figcaption>
98+
</div>
10099
</View>
101100
)
102101
}

0 commit comments

Comments
 (0)