From 930396ee1d045408393b51ca69867f5a048b22a2 Mon Sep 17 00:00:00 2001 From: Bill Robbins Date: Wed, 22 Jan 2025 11:08:29 -0600 Subject: [PATCH] Restore width of Billing History in Purchases (#98606) * Set purchases screens to full width * Remove full-width style for billing history * Add dataviews specific class to wrapper * Refactor HTML markup to be more semantic --------- Co-authored-by: Bill Robbins --- .../billing-history-list-data-view.tsx | 34 ++++++++----------- client/me/purchases/billing-history/main.tsx | 4 +-- .../billing-history/style-data-view.scss | 22 ++---------- 3 files changed, 19 insertions(+), 41 deletions(-) diff --git a/client/me/purchases/billing-history/billing-history-list-data-view.tsx b/client/me/purchases/billing-history/billing-history-list-data-view.tsx index ee856657a03ae..882e392213c70 100644 --- a/client/me/purchases/billing-history/billing-history-list-data-view.tsx +++ b/client/me/purchases/billing-history/billing-history-list-data-view.tsx @@ -47,24 +47,20 @@ export default function BillingHistoryListDataView( { const handleViewChange = ( view: View ) => viewState.updateView( view as ViewStateUpdate ); return ( -
-
- -
-
+ ); } diff --git a/client/me/purchases/billing-history/main.tsx b/client/me/purchases/billing-history/main.tsx index ee9c51cc741d6..5fc1d279c4431 100644 --- a/client/me/purchases/billing-history/main.tsx +++ b/client/me/purchases/billing-history/main.tsx @@ -28,7 +28,7 @@ export function BillingHistoryContent( { const useDataViewBillingHistoryList = config.isEnabled( 'purchases/billing-history-data-view' ); return ( - + { useDataViewBillingHistoryList ? ( ) : ( @@ -61,7 +61,7 @@ function BillingHistory() { const vatText = vatDetails.id ? editVatText : addVatText; return ( -
+
* { - max-width: 100%; -} - -@media screen and (min-width: 782px) { - body.is-section-me .navigation-header::after { - display: none !important; - } -} \ No newline at end of file