seperate tabsSidebarSpace into two spacers
for tabs and sidebar. this way we can use the generic variable sidebar spacing on the scrollPageHeader
This commit is contained in:
parent
83f5b6cabe
commit
6c54e1269d
6 changed files with 7 additions and 7 deletions
|
@ -511,11 +511,11 @@ class App.Sidebar extends App.Controller
|
|||
)
|
||||
|
||||
toggleSidebar: ->
|
||||
@el.parent().find('.tabsSidebarSpace').toggleClass('is-closed')
|
||||
@el.parent().find('.tabsSidebar-sidebarSpacer').toggleClass('is-closed')
|
||||
@el.parent().find('.tabsSidebar').toggleClass('is-closed')
|
||||
|
||||
showSidebar: ->
|
||||
@el.parent().find('.tabsSidebarSpace').removeClass('is-closed')
|
||||
@el.parent().find('.tabsSidebar-sidebarSpacer').removeClass('is-closed')
|
||||
@el.parent().find('.tabsSidebar').removeClass('is-closed')
|
||||
|
||||
toggleTab: (e) ->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="tabsSidebar-holder">
|
||||
<div class="main no-padding flex tabsSidebarSpace">
|
||||
<div class="main no-padding flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
|
||||
<div class="newTicket">
|
||||
<div class="box">
|
||||
<div class="page-header">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="tabsSidebar-holder flex horizontal">
|
||||
<div class="main flex tabsSidebarSpace">
|
||||
<div class="main flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
|
||||
<h1>content</h1>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="flex vertical">
|
||||
<div class="flex u-positionOrigin horizontal">
|
||||
<div class="main flex tabsSidebarSpace">
|
||||
<div class="main flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
|
||||
<div class="organizationZoom">
|
||||
<div class="page-header">
|
||||
<h1><%- @T( @head ) %></h1>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="tabsSidebar-holder flex vertical">
|
||||
<div class="flex u-positionOrigin horizontal">
|
||||
<div class="main no-padding flex tabsSidebarSpace">
|
||||
<div class="main no-padding flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
|
||||
<div class="ticketZoom">
|
||||
<div class="page-header horizontal">
|
||||
<div class="flex vertical center">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="tabsSidebar-holder flex vertical">
|
||||
<div class="flex u-positionOrigin horizontal">
|
||||
<div class="main flex tabsSidebarSpace">
|
||||
<div class="main flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
|
||||
<div class="userZoom">
|
||||
<div class="page-header">
|
||||
<h1><%- @T( @head ) %></h1>
|
||||
|
|
Loading…
Reference in a new issue