Skip to content

Commit

Permalink
Fix padding issues in the metadata manager
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Oct 10, 2024
1 parent c6b4d41 commit 2235d16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/apps/dashboard/AppOverrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -31,4 +31,8 @@ $drawer-width: 240px;
padding-top: 3.25rem;
}
}

.metadataEditorPage {
padding-top: 3.25rem !important;
}
}
2 changes: 1 addition & 1 deletion src/controllers/edititemmetadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</div>
<div>
<div class="editPageInnerContent padded-top padded-bottom-page">
<div class="editPageInnerContent padded-bottom-page">
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion src/styles/metadataeditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2235d16

Please sign in to comment.