mirror of https://github.com/rancher/ui.git
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:
parent
3fca56386c
commit
05d10f9525
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import { isSafari } from 'ui/utils/platform';
|
import { isSafari } from 'ui/utils/platform';
|
||||||
|
|
||||||
const DELAY = 2000;
|
const DELAY = 1000;
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
tagName : 'div',
|
tagName : 'div',
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,10 @@ export default Ember.Service.extend({
|
||||||
$parent.addClass('open');
|
$parent.addClass('open');
|
||||||
|
|
||||||
this.set('open',true);
|
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);
|
BootstrapFixes.positionDropdown($menu, trigger, true);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -349,7 +349,7 @@ HEADER {
|
||||||
content: "";
|
content: "";
|
||||||
border-width: 7px;
|
border-width: 7px;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-bottom-color: lighten($accent-two, 10%);
|
border-bottom-color: $body-bg;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -2px;
|
bottom: -2px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue