diff --git a/src/styles/_global-styles.scss b/src/styles/_global-styles.scss index 2098fc4f74..f7f38f77cd 100644 --- a/src/styles/_global-styles.scss +++ b/src/styles/_global-styles.scss @@ -59,3 +59,18 @@ ds-admin-sidebar { display: none; } } + +ngb-modal-backdrop { + // ng-bootsrap animates opacity, causing the fully opaque background to flash briefly before the transition starts + // animating background-color between transparent & a RGBA color instead looks smoother + &.fade { + opacity: 1 !important; + background-color: transparent; + transition: background-color 0.15s linear; + + &.show { + background-color: rgba(0, 0, 0, 0.5); + } + } +} +