aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-26 00:36:02 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-26 00:43:11 +0100
commitd7414fbf0d9d5a38966ddfb5b58543bfc59089d2 (patch)
treeee130be66b8adf2cfb02ef63d305abc760b8454f /core
parentdd7eb4c7c30e5f3bea1eae9506f414d59f6d5fc6 (diff)
downloadnextcloud-server-d7414fbf0d9d5a38966ddfb5b58543bfc59089d2.tar.gz
nextcloud-server-d7414fbf0d9d5a38966ddfb5b58543bfc59089d2.zip
move triangle of apps dropdown to align with app name triangle
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 378af83d090..1ae776692fe 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1139,6 +1139,12 @@ function initCore() {
$('#settings #expanddiv').hide();
});
+ // move triangle of apps dropdown to align with app name triangle
+ // 68 is the additional offset coming from the logo width
+ var caretPosition = $('.header-appname + .icon-caret').position().left + 68;
+ document.styleSheets[2].addRule('#navigation:after',
+ 'left: '+ caretPosition +'px;');
+
// all the tipsy stuff needs to be here (in reverse order) to work
$('.displayName .action').tipsy({gravity:'se', fade:true, live:true});
$('.password .action').tipsy({gravity:'se', fade:true, live:true});