From d7414fbf0d9d5a38966ddfb5b58543bfc59089d2 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 26 Mar 2015 00:36:02 +0100 Subject: [PATCH] move triangle of apps dropdown to align with app name triangle --- core/js/js.js | 6 ++++++ 1 file changed, 6 insertions(+) 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}); -- 2.39.5