fix scrollTicketHeader issue by switching from fixed to absolute positioning

This commit is contained in:
Felix Niklas 2015-06-11 14:16:20 +02:00
parent 86c844e700
commit 04639404ef
2 changed files with 8 additions and 9 deletions

View file

@ -1,12 +1,12 @@
<div class="tabsSidebar-holder"> <div class="tabsSidebar-holder">
<div class="scrollPageHeader tabsSidebar-sidebarSpacer">
<small><%- @C('ticket_hook') %> <span class="ticket-number"><%- @ticket.number %></span></small>
<div class="ticket-title"></div>
<div class="highlighter"></div>
<div class="overview-navigator"></div>
</div>
<div class="main no-padding flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer"> <div class="main no-padding flex tabsSidebar-sidebarSpacer tabsSidebar-tabsSpacer">
<div class="ticketZoom"> <div class="ticketZoom">
<div class="scrollPageHeader tabsSidebar-sidebarSpacer">
<small><%- @C('ticket_hook') %> <span class="ticket-number"><%- @ticket.number %></span></small>
<div class="ticket-title"></div>
<div class="highlighter"></div>
<div class="overview-navigator"></div>
</div>
<div class="ticketZoom-controls"> <div class="ticketZoom-controls">
<div class="highlighter"></div> <div class="highlighter"></div>
<div class="overview-navigator"></div> <div class="overview-navigator"></div>

View file

@ -4572,11 +4572,10 @@ footer {
border-bottom: 1px solid hsl(0,0%,78%); border-bottom: 1px solid hsl(0,0%,78%);
height: 64px; height: 64px;
top: 0; top: 0;
left: $navigationWidth; left: 0;
right: 0; right: 0;
padding: 0 22px; padding: 0 22px;
position: fixed; position: absolute;
min-width: $minWidth - $navigationWidth - $sidebarWidth;
transform: translateY(-64px); transform: translateY(-64px);
} }