[CORD-1651] Add action to xosTable to navigate to the detail page
Change-Id: Id948d83bcc039287fa7841908214b2d856844af8
(cherry picked from commit 2c61b883912f73875b819961fb54d946f42ba529)
diff --git a/src/app/core/table/table.html b/src/app/core/table/table.html
index 8583fd9..2d52feb 100644
--- a/src/app/core/table/table.html
+++ b/src/app/core/table/table.html
@@ -84,7 +84,7 @@
</div>
</div>
</td>
- <td ng-if="vm.config.actions">
+ <td class="xos-table-actions" ng-if="vm.config.actions">
<a href=""
ng-repeat="action in vm.config.actions"
ng-click="action.cb(item)"
diff --git a/src/app/core/table/table.scss b/src/app/core/table/table.scss
index 9922026..2d50db0 100644
--- a/src/app/core/table/table.scss
+++ b/src/app/core/table/table.scss
@@ -33,4 +33,10 @@
z-index: 2;
}
+ td.xos-table-actions {
+ a + a {
+ margin-left: $padding-base-horizontal;
+ }
+ }
+
}
\ No newline at end of file