From 6147f41dc2af9b8877b243fda35e56e8d13aa407 Mon Sep 17 00:00:00 2001 From: Arturs Sosins Date: Tue, 19 May 2015 16:54:35 +0300 Subject: [PATCH] [ui] fixed long app name tooltip padding --- .../express/public/javascripts/countly/countly.template.js | 2 +- frontend/express/public/stylesheets/main.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/express/public/javascripts/countly/countly.template.js b/frontend/express/public/javascripts/countly/countly.template.js index 380e13c97c8..9355093de00 100644 --- a/frontend/express/public/javascripts/countly/countly.template.js +++ b/frontend/express/public/javascripts/countly/countly.template.js @@ -3349,7 +3349,7 @@ var AppRouter = Backbone.Router.extend({ var name = elem.find(".name"); if(name[0].scrollWidth > name.innerWidth()){ if(elem.parents("#app-nav").length) - $("#app-tooltip").css("margin-left", "20px"); + $("#app-tooltip").css("margin-left", "21px"); else $("#app-tooltip").css("margin-left", "3px"); $("#app-tooltip").html(elem.clone()); diff --git a/frontend/express/public/stylesheets/main.css b/frontend/express/public/stylesheets/main.css index 0df9d204e07..d4590d9b672 100644 --- a/frontend/express/public/stylesheets/main.css +++ b/frontend/express/public/stylesheets/main.css @@ -7,8 +7,8 @@ a { color:inherit; text-decoration:none; } a:visited { color:inherit; } a:hover { color:inherit; } a:active { color:inherit; } -#app-tooltip{display: none; position: absolute; z-index: 1000; background-color: #CCC; height: 45px; margin-left:3px;} -#app-tooltip .app-container{padding-left:12px;} +#app-tooltip{display: none; position: absolute; z-index: 1000; background-color: #CCC; height: 45px; margin-left:5px;} +#app-tooltip .app-container{padding-left:11px;} /* FOOTER */ #content-footer{position: fixed; bottom:0; left:0px; width: 100%; background-color: #3C3C3C; font: 13px Ubuntu,Helvetica,sans-serif; color: #888; height: 40px; z-index:999; box-shadow: 0 -4px 15px -5px #3C3C3C;}