Skip to content

Commit

Permalink
Use flexbox gap to position currency symbol with the tax information …
Browse files Browse the repository at this point in the history
…string (#98943)

* Correct spacing with tax inclusive pricing in Billing History DataView

* Center loading spinner

---------

Co-authored-by: Bill Robbins <[email protected]>
  • Loading branch information
billrobbins and Bill Robbins authored Jan 29, 2025
1 parent 0bb16c9 commit df56a5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
20 changes: 16 additions & 4 deletions client/me/purchases/billing-history/style-data-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
margin-bottom: 1rem;
padding: 0 1rem;

.dataviews-loading {
display: flex;
align-items: end;
justify-content: center;
padding-top: 48px;

.components-spinner {
width: 32px;
height: 32px;
}
}

.dataviews-view-table {
width: 100%;
border-collapse: collapse;
Expand Down Expand Up @@ -112,6 +124,10 @@
font-size: 0.875rem;
color: var(--color-text-subtle);
}

&-wrapper {
gap: 4px;
}
}

.dataviews-view-table__cell-actions {
Expand Down Expand Up @@ -145,10 +161,6 @@
}
}

.dataviews-no-results, .dataviews-loading {
min-height: 500px;
}

.dataviews__view-actions {
margin-top: 1em;
padding-left: 0;
Expand Down
1 change: 0 additions & 1 deletion client/me/purchases/billing-history/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
color: var(--color-text-subtle);
font-size: $font-body-extra-small;
white-space: nowrap;
margin-left: 0.3rem;
}

.billing-history__transaction-tax-amount {
Expand Down

0 comments on commit df56a5b

Please sign in to comment.