From 1b7d17b8971e439c5407d05b9d92ed741b31d269 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 27 May 2015 10:21:13 +0200 Subject: [PATCH] enlarge sidebar header actions click area --- .../_application_controller_generic.js.coffee | 2 +- .../app/views/generic/sidebar_tabs.jst.eco | 4 +- app/assets/stylesheets/zammad.css.scss | 38 +++++++++++-------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee index 43b8b68e8..f95a058aa 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee @@ -488,7 +488,7 @@ class App.Sidebar extends App.Controller events: 'click .tabsSidebar-tab': 'toggleTab' 'click .tabsSidebar-close': 'toggleSidebar' - 'click .sidebar-header h2': 'toggleDropdown' + 'click .sidebar-header .js-headline': 'toggleDropdown' constructor: -> super diff --git a/app/assets/javascripts/app/views/generic/sidebar_tabs.jst.eco b/app/assets/javascripts/app/views/generic/sidebar_tabs.jst.eco index 9cd95def1..b567d4b46 100644 --- a/app/assets/javascripts/app/views/generic/sidebar_tabs.jst.eco +++ b/app/assets/javascripts/app/views/generic/sidebar_tabs.jst.eco @@ -1,8 +1,8 @@ <% for item in @items: %>