From 7dafc44afab986ff934e47a4589e4eb53cec55fd Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Fri, 12 Apr 2024 18:06:27 +0100 Subject: [PATCH] Move centering offset to padding-top --- .../src/components/global-styles/font-library-modal/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/style.scss b/packages/edit-site/src/components/global-styles/font-library-modal/style.scss index b455c0666f98c..c62a162e2e495 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/style.scss +++ b/packages/edit-site/src/components/global-styles/font-library-modal/style.scss @@ -42,9 +42,10 @@ $footer-height: 70px; display: flex; position: absolute; left: 0; - top: $header-height; + top: 0; align-items: center; justify-content: center; + padding-top: $header-height; } .font-library-modal__tabpanel-layout__footer {