Skip to content

Commit da23191

Browse files
committed
feat(ui): added table-hover class
1 parent a17b09b commit da23191

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

lib/public/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@
2929
.w-90 { width: 90%; }
3030
.w-95 { width: 95%; }
3131
.w-100 { width: 100%; }
32+
33+
.table-hover tbody tr:hover {
34+
color: #212529;
35+
background-color: rgba(0, 0, 0, 0.075);
36+
}

lib/public/components/Table/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const filterKeysByVisibility = (keys) => {
3636
*/
3737
const table = (data, keys, params = () => null) => {
3838
filterKeysByVisibility(keys);
39-
return h('table.table.shadow-level1', { style: { 'margin-bottom': 0 } }, [
39+
return h('table.table.table-hover.shadow-level1', { style: { 'margin-bottom': 0 } }, [
4040
headers(keys),
4141
content(data, keys, params),
4242
]);

0 commit comments

Comments
 (0)