mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-04 06:32:18 +00:00
Improve folder subscription widget
This commit is contained in:
@@ -197,6 +197,7 @@
|
||||
dropdownCss.top = $window.innerHeight - dropdownHeight - 5;
|
||||
if (dropdownHeight > $window.innerHeight) {
|
||||
// Resize height of dropdown to fit window
|
||||
dropdownCss.top = 5;
|
||||
dropdownCss.height = ($window.innerHeight - 10) + 'px';
|
||||
}
|
||||
}
|
||||
@@ -273,10 +274,7 @@
|
||||
};
|
||||
}],
|
||||
link: function(scope, element, attrs, controller) {
|
||||
// NOTE: We could also make these modifications in the wox template
|
||||
element.addClass('joyride-tip-guide');
|
||||
angular.element(element.children()[0]).addClass('joyride-content-wrapper');
|
||||
element.prepend('<span class="joyride-nub left"></span>');
|
||||
}
|
||||
};
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user