From 8f66cb63923854c94832777957c003e8df1fbc0d Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 22 Jan 2015 17:41:53 +0100 Subject: [PATCH] fix display of the page footer on navigator pages --- server/sonar-web/src/main/coffee/issues/app-new.coffee | 1 + server/sonar-web/src/main/js/coding-rules/app.js | 1 + .../sonar-web/src/main/less/components/search-navigator.less | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/server/sonar-web/src/main/coffee/issues/app-new.coffee b/server/sonar-web/src/main/coffee/issues/app-new.coffee index d2188d556bc..c9ead53d72f 100644 --- a/server/sonar-web/src/main/coffee/issues/app-new.coffee +++ b/server/sonar-web/src/main/coffee/issues/app-new.coffee @@ -46,6 +46,7 @@ requirejs [ App.addInitializer -> @layout = new Layout() $('.issues').empty().append @layout.render().el + $('#footer').addClass('search-navigator-footer'); App.addInitializer -> diff --git a/server/sonar-web/src/main/js/coding-rules/app.js b/server/sonar-web/src/main/js/coding-rules/app.js index b92d703e1a4..1bdefde9eba 100644 --- a/server/sonar-web/src/main/js/coding-rules/app.js +++ b/server/sonar-web/src/main/js/coding-rules/app.js @@ -36,6 +36,7 @@ requirejs([ App.addInitializer(function () { this.layout = new Layout(); $('.coding-rules').empty().append(this.layout.render().el); + $('#footer').addClass('search-navigator-footer'); }); App.addInitializer(function () { diff --git a/server/sonar-web/src/main/less/components/search-navigator.less b/server/sonar-web/src/main/less/components/search-navigator.less index 6eb29cc614e..70c1f89a80a 100644 --- a/server/sonar-web/src/main/less/components/search-navigator.less +++ b/server/sonar-web/src/main/less/components/search-navigator.less @@ -32,6 +32,10 @@ } } +.search-navigator-footer { + padding-left: @sideWidth !important; +} + .search-navigator-side { position: fixed; z-index: 100; -- 2.39.5