Skip to content

Commit

Permalink
Merge pull request #146 from OpenDevelopmentMekong/master
Browse files Browse the repository at this point in the history
Fixing z-index
  • Loading branch information
Alex Corbi authored Apr 24, 2017
2 parents 84033ba + 220774d commit fe5103b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions css/profile-pages.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ table.dataTable thead .sorting_desc_disabled {
.fixed-filter-container {
position: fixed;
top: 37px;
z-index: 9999;
z-index: 99;
}
.fixed_datatable_tool_bar {
display: none;
Expand Down Expand Up @@ -345,7 +345,7 @@ table.dataTable thead .sorting_desc_disabled {
}
.select2-container {
font-size: 14px;
z-index: 9999;
z-index: 99;
}
#filter_by_classification .label {
display: inline;
Expand All @@ -371,7 +371,7 @@ table.dataTable thead .sorting_desc_disabled {
position: fixed;
top: 0;
background: #fff;
z-index: 9999;
z-index: 99;
margin-left: 20px;
}
.fixed_top_bar div{
Expand Down
4 changes: 2 additions & 2 deletions post-types/templates/page-profiles-list-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<?php
if($DATASET_ATTRIBUTE):
foreach ($DATASET_ATTRIBUTE as $key => $value): ?>
<?php
<?php
$link_to_detail_column_array = explode(',', $link_to_detail_column);
if(array_key_exists($key, $profile)):
if(in_array($key, $link_to_detail_column_array)) :
Expand Down Expand Up @@ -324,7 +324,7 @@
$(window).scroll(function() {
if ($(document).scrollTop() >= get_position_profile_table) {
$('.dataTables_scrollHead').css('position','fixed').css('top', table_fixed_position+'px');
$('.dataTables_scrollHead').css('z-index',9999);
$('.dataTables_scrollHead').css('z-index',99);
$('.dataTables_scrollHead').width($('.dataTables_scrollBody').width());
$('.filter-container').css('position','fixed');
$('.filter-container').css('width',$('.dataTables_scrollBody').width());
Expand Down

0 comments on commit fe5103b

Please sign in to comment.