Skip to content

Commit

Permalink
Fix not resizable columns width
Browse files Browse the repository at this point in the history
  • Loading branch information
juankaromo authored and Jesús Ángel committed May 16, 2019
1 parent 0aa0e17 commit cc4828f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/directives/wz-table/wz-table.html
Expand Up @@ -15,8 +15,8 @@
</div>

<div ng-if="!wazuh_table_loading && !isPolicyMonitoring() && !isSyscheck()" ng-show="!error && items.length">
<table class="table table-striped table-condensed table-hover no-margin-bottom"
ng-class="customColumns ? 'table-resizable' : ''" id="table{{scapepath}}">
<table class="table table-striped table-condensed table-hover no-margin-bottom" ng-class="customColumns ? 'table-resizable' : ''"
id="table{{scapepath}}">
<thead class="wz-text-bold">
<th ng-repeat="key in keys" class="euiTableHeaderCell wz-text-left" ng-style="(key.width && !customColumns) && {'width':key.width}">
<p ng-class="{ 'cursor-pointer' : !key.nosortable}" ng-click="!key.nosortable && sort(key)">
Expand All @@ -37,7 +37,7 @@
<tr ng-class="allowClick ? 'cursor-pointer' : ''" class="wz-word-wrap" ng-repeat="item in pagedItems[currentPage] | filter:{item:'!'}"
ng-click="clickAction(item)">
<td ng-repeat="key in keys" id="td-{{$parent.$index}}-{{$index}}" ng-mouseover="showTooltip($parent.$index, $index, item)">
<div ng-class="customColumns ? 'wz-text-truncatable-container' : ''">
<div class="wz-text-truncatable-container">
<span class="wz-text-truncatable">
{{
parseValue(key,item)
Expand Down

0 comments on commit cc4828f

Please sign in to comment.