From 2235d162e7a418e6a1747ae1e2588cd55f51b4cb Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 10 Oct 2024 10:59:00 -0400 Subject: [PATCH] Fix padding issues in the metadata manager --- src/apps/dashboard/AppOverrides.scss | 6 +++++- src/controllers/edititemmetadata.html | 2 +- src/styles/metadataeditor.scss | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/apps/dashboard/AppOverrides.scss b/src/apps/dashboard/AppOverrides.scss index c001150fc5..1918bbe50d 100644 --- a/src/apps/dashboard/AppOverrides.scss +++ b/src/apps/dashboard/AppOverrides.scss @@ -9,7 +9,7 @@ $drawer-width: 240px; // Fix dashboard pages layout to work with drawer .dashboardDocument { - .mainAnimatedPage { + .mainAnimatedPage:not(.metadataEditorPage) { @media all and (min-width: $mui-bp-md) { left: $drawer-width; } @@ -31,4 +31,8 @@ $drawer-width: 240px; padding-top: 3.25rem; } } + + .metadataEditorPage { + padding-top: 3.25rem !important; + } } diff --git a/src/controllers/edititemmetadata.html b/src/controllers/edititemmetadata.html index 2fe57813dd..133651b6d0 100644 --- a/src/controllers/edititemmetadata.html +++ b/src/controllers/edititemmetadata.html @@ -11,7 +11,7 @@
-
+
diff --git a/src/styles/metadataeditor.scss b/src/styles/metadataeditor.scss index 49103275f8..51dfc84be2 100644 --- a/src/styles/metadataeditor.scss +++ b/src/styles/metadataeditor.scss @@ -56,7 +56,7 @@ @media all and (min-width: 50em) { .editPageSidebar { position: fixed; - top: 5.2em; + top: 3.25rem; bottom: 0; width: 30%; display: block;