Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit e36d424

Browse files
committed
Workaround fix for #199
1 parent 4ee5b59 commit e36d424

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Css/doctypegrideditor.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,11 @@
4444
display: block;
4545
}
4646
*/
47+
48+
/* workaround for https://github.com/skttl/umbraco-doc-type-grid-editor/issues/199 from https://github.com/umbraco/Umbraco-CMS/issues/7754 */
49+
body.pre870 .dtge-dialog .umb-overlay {
50+
left: inherit !important;
51+
right: 0 !important;
52+
top: 0 !important;
53+
bottom: 0 !important;
54+
}

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ angular.module("umbraco").controller("Our.Umbraco.DocTypeGridEditor.Dialogs.DocT
387387
});
388388
}
389389

390+
if (dtgeUtilityService.compareCurrentUmbracoVersion("8.7.0", {}) && !$("body").hasClass("pre870")) {
391+
$("body").addClass("pre870");
392+
};
393+
390394
}
391395

392396
]);

0 commit comments

Comments
 (0)