From 041bed70931a0469348cff135c6749d3fb45745c Mon Sep 17 00:00:00 2001 From: Aurorum <43215253+Aurorum@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:41:37 +0300 Subject: [PATCH 1/2] Me: Fix Height of Emptier Pages --- client/me/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/client/me/style.scss b/client/me/style.scss index d955039342d309..412ab0134e7d20 100644 --- a/client/me/style.scss +++ b/client/me/style.scss @@ -38,6 +38,7 @@ body.is-section-me { background: var(--color-surface); border-radius: 8px; /* stylelint-disable-line scales/radii */ box-shadow: 0 0 17.4px 0 rgba(0, 0, 0, 0.05); + height: calc(100vh - var(--masterbar-height) - var(--content-padding-top) - var(--content-padding-bottom)); overflow-y: auto; overflow-x: hidden; max-width: none; From bd7be143434bb8f3be5b50fb2ecd8148dfd535b8 Mon Sep 17 00:00:00 2001 From: Aurorum <43215253+Aurorum@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:42:27 +0300 Subject: [PATCH 2/2] Remove defunct styles --- client/me/purchases/cancel-purchase/style.scss | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/me/purchases/cancel-purchase/style.scss b/client/me/purchases/cancel-purchase/style.scss index b7f798a235a82d..06cb161a9f354e 100644 --- a/client/me/purchases/cancel-purchase/style.scss +++ b/client/me/purchases/cancel-purchase/style.scss @@ -1,11 +1,6 @@ @import "@wordpress/base-styles/breakpoints"; @import "@wordpress/base-styles/mixins"; -.is-section-me.is-global-sidebar-visible .purchases__cancel.main, -.is-section-me.is-global-sidebar-visible .purchases__cancel-domain.main { - height: calc(100vh - var(--masterbar-height) - var(--content-padding-top) - var(--content-padding-bottom)); -} - .cancel-purchase__wrapper-card { padding: 32px; padding-top: 12px;