mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge pull request #1424 from ybnd/Fix-modal-open-issues
Fix minor modal UX issues
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class="form-control"
|
||||
(click)="$event.stopPropagation();"
|
||||
placeholder="{{'dso-selector.placeholder' | translate: { type: typesString } }}"
|
||||
[formControl]="input" dsAutoFocus (keyup.enter)="selectSingleResult()">
|
||||
[formControl]="input" ngbAutofocus (keyup.enter)="selectSingleResult()">
|
||||
</div>
|
||||
<div class="dropdown-divider"></div>
|
||||
<div class="scrollable-menu list-group">
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user