Skip to content

Commit 72104a8

Browse files
remove full width text
1 parent 8aeafe6 commit 72104a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dotcom-rendering/src/components/ProductLinkButton.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ type ProductLinkButtonProps = {
1515
url: string;
1616
size?: 'default' | 'small';
1717
fullwidth?: boolean;
18-
fullWidthText?: boolean;
1918
priority?: ButtonPriority;
2019
dataComponent?: string;
2120
minimisePadding?: boolean;
@@ -55,7 +54,6 @@ export const ProductLinkButton = ({
5554
size = 'default',
5655
fullwidth = false,
5756
minimisePadding = false,
58-
fullWidthText = false,
5957
priority = 'primary',
6058
dataComponent,
6159
}: ProductLinkButtonProps) => {
@@ -83,7 +81,6 @@ export const ProductLinkButton = ({
8381
cssOverrides={cssOverrides}
8482
>
8583
<span
86-
style={fullWidthText ? { width: '100%' } : {}}
8784
css={css`
8885
text-wrap: balance;
8986
text-align: center;

0 commit comments

Comments
 (0)