Skip to content

Commit

Permalink
tweak dismiss so note text is vertically centred:
Browse files Browse the repository at this point in the history
- short term fix
- this hack & component will be replaced soon (InlineNotice, #8260)
  • Loading branch information
Rua Haszard committed Feb 23, 2024
1 parent 07b4f5c commit 93b8f93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions client/deposits/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ $space-header-item: 12px;
margin-right: $space-header-item;
}
}

// Tweak dismiss button height so text is vertically centered.
// This is a short-term hack, this notice will be moving inside table and
// use an InlineNotice in future.
// https://github.com/Automattic/woocommerce-payments/issues/8260
// Can delete this rule when that issue is fixed.
button.components-button.wcpay-banner-notice__dismiss.has-icon {
height: 20px;
}

0 comments on commit 93b8f93

Please sign in to comment.