Fix sub-nav route indicator to match body color

Fix issue with action menus causing firefox to scroll to bottom of page
This commit is contained in:
Westly Wright 2016-03-24 10:16:37 -07:00
parent 3fca56386c
commit 05d10f9525
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import Ember from 'ember';
import { isSafari } from 'ui/utils/platform';
const DELAY = 2000;
const DELAY = 1000;
export default Ember.Component.extend({
tagName : 'div',

View File

@ -51,7 +51,10 @@ export default Ember.Service.extend({
$parent.addClass('open');
this.set('open',true);
$('#resource-actions-first')[0].focus();
// Delay ensure it works in firefox
Ember.run.next(() => {
$('#resource-actions-first')[0].focus();
});
BootstrapFixes.positionDropdown($menu, trigger, true);
});
},

View File

@ -349,7 +349,7 @@ HEADER {
content: "";
border-width: 7px;
border-color: transparent;
border-bottom-color: lighten($accent-two, 10%);
border-bottom-color: $body-bg;
border-style: solid;
position: absolute;
bottom: -2px;