Skip to content

Commit

Permalink
Untangling: Fix border colors in sidebar notices (#37052)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmtr authored Apr 24, 2024
1 parent e67ec35 commit a8797a5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: Fixed a WP.com only issue on the sidebar notices


Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const wpcomShowSidebarNotice = () => {
<div class="upsell_banner">
<div class="upsell_banner__icon dashicons" aria-hidden="true"></div>
<div class="upsell_banner__text">${ wpcomSidebarNotice.text }</div>
<button type="button" class="upsell_banner__action button button-primary">${
wpcomSidebarNotice.action
}</button>
<button type="button" class="upsell_banner__action button">${ wpcomSidebarNotice.action }</button>
${
wpcomSidebarNotice.dismissible === '1'
? '<button type="button" class="upsell_banner__dismiss button button-link">' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
cursor: pointer;
min-height: 32px;
margin-bottom: 0;
border: 0;
}

.upsell_banner__dismiss {
Expand Down

0 comments on commit a8797a5

Please sign in to comment.