From 5d414e9a1b0a840e6395a02175fd509e2272f225 Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 16 Nov 2016 15:57:51 +0000 Subject: [PATCH] Tweak paddings in review panel --- .../review-panel/directives/reviewPanelSorted.coffee | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee index b51f0e6238..828579d0bc 100644 --- a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee +++ b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee @@ -4,18 +4,16 @@ define [ App.directive "reviewPanelSorted", ($timeout) -> return { link: (scope, element, attrs) -> - TOOLBAR_HEIGHT = 28 - BOX_PADDING = 12 - INDICATOR_PADDING = 4 - previous_focused_entry_index = 0 layout = () -> sl_console.log "LAYOUT" if scope.ui.reviewPanelOpen - PADDING = BOX_PADDING + PADDING = 8 + TOOLBAR_HEIGHT = 38 else - PADDING = INDICATOR_PADDING + PADDING = 4 + TOOLBAR_HEIGHT = 4 entries = [] for el in element.find(".rp-entry-wrapper")