Skip to content

Commit

Permalink
Social: Fix share status tooltip text overflow (#39599)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk authored Oct 4, 2024
1 parent decd2c8 commit b68a7f4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Social: Fixed share status tooltip text overflow
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export function ShareStatusLabel( { status, message } ) {
title={ __( 'Sharing failed with the following message:', 'jetpack' ) }
className={ styles[ 'share-status-icon-tooltip' ] }
>
<Text variant="body-small">{ message }</Text>
<Text variant="body-small" className={ styles[ 'tooltip-text' ] }>
{ message }
</Text>
</IconTooltip>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
}
}

.tooltip-text {
word-break: break-word;
}

.share-status-icon {
fill: var(--jp-green-50);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Social: Fixed share status tooltip text overflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Social: Fixed share status tooltip text overflow

0 comments on commit b68a7f4

Please sign in to comment.