Skip to content

Commit

Permalink
removed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed Jul 30, 2024
1 parent 1cbb0f6 commit 56165b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/components/Feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@ const Feedback = ( { postId, source } ) => {
className="feedback-button yes"
>
{ status === 'helpful' && (
<span role="img" aria-label="helpful">
{ ' ' }
&#129395;{ ' ' }
<span
className="feedback-button-emoji"
role="img"
aria-label="helpful"
>
&#129395;
</span>
) }
{ __( 'Yes', 'wp-module-help-center' ) }
Expand All @@ -76,9 +79,12 @@ const Feedback = ( { postId, source } ) => {
className="feedback-button no"
>
{ status === 'notHelpful' && (
<span role="img" aria-label="not helpful">
{ ' ' }
&#128557;{ ' ' }
<span
className="feedback-button-emoji"
role="img"
aria-label="not helpful"
>
&#128557;
</span>
) }
{ __( 'No', 'wp-module-help-center' ) }
Expand Down
4 changes: 4 additions & 0 deletions styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ $gray-text: #394150;
padding-top: 6px;
flex-shrink: 0;
white-space: nowrap;

.feedback-button-emoji {
margin-right: 5px;
}
}
.button-icon {
height: 20px;
Expand Down

0 comments on commit 56165b0

Please sign in to comment.