Skip to content

Commit

Permalink
fix(selection, expandable): Add pointer cursor css
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermerlin authored and mportuga committed Jun 11, 2018
1 parent 2485652 commit faf332e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui-grid-row-header-cell ui-grid-expandable-buttons-cell">
<div class="ui-grid-cell-contents">
<span class="ui-grid-cell-empty" ng-if="!grid.options.showExpandAllButton"></span>
<button type="button" class="ui-grid-icon-button"
<button type="button" class="ui-grid-icon-button clickable"
ng-if="grid.options.showExpandAllButton"
ng-class="{ 'ui-grid-icon-plus-squared' : !grid.expandable.expandedAll, 'ui-grid-icon-minus-squared' : grid.expandable.expandedAll }"
ng-click="grid.api.expandable.toggleAllRows()">
Expand Down
2 changes: 1 addition & 1 deletion src/features/selection/templates/selectionRowHeader.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="ui-grid-cell-contents ui-grid-disable-selection">
<div class="ui-grid-cell-contents ui-grid-disable-selection clickable">
<ui-grid-selection-row-header-buttons>
</ui-grid-selection-row-header-buttons>
</div>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div
class="ui-grid-selection-row-header-buttons ui-grid-icon-ok"
class="ui-grid-selection-row-header-buttons ui-grid-icon-ok clickable"
ng-class="{'ui-grid-row-selected': row.isSelected}"
ng-click="selectButtonClick(row, $event)"
ng-keydown="selectButtonKeyDown(row, $event)"
Expand Down
8 changes: 4 additions & 4 deletions src/less/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@
border: 0;
}

.clickable {
cursor: pointer;
}

.ui-grid-icon-button {
background-color: transparent;
border: none;
padding: 0;
}

.clickable {
cursor: pointer;
}

0 comments on commit faf332e

Please sign in to comment.