Skip to content

Commit

Permalink
Improve consistency of tooltip text style (#7908)
Browse files Browse the repository at this point in the history
Co-authored-by: Shendy <[email protected]>
  • Loading branch information
Jinksi and shendy-a8c authored Dec 14, 2023
1 parent 62c5bf9 commit cb92c07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog/fix-7905-transactions-list-tooltip-styles
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fix
Comment: Improving consitency of tooltip styles, part of previous PR adding transaction list tooltip


3 changes: 3 additions & 0 deletions client/components/tooltip/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
z-index: 100010;
// Initial left position is set to 0 to fix a positioning bug in mobile Safari.
left: 0;
white-space: normal;
font-size: 12px;
font-weight: 400;

&.is-hiding {
opacity: 0 !important;
Expand Down
5 changes: 0 additions & 5 deletions client/transactions/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ $space-header-item: 12px;
top: 3px;
left: 8px;
}
.woocommerce-table__item {
.wcpay-tooltip__content-wrapper {
white-space: normal;
}
}
}

/**
Expand Down

0 comments on commit cb92c07

Please sign in to comment.