Content-Length: 446550 | pFad | http://github.com/postgresml/postgresml/commit/40a13e92b8fa6ab5547ec13152e6d45909d69800

0C Fix table (#997) · postgresml/postgresml@40a13e9 · GitHub
Skip to content

Commit 40a13e9

Browse files
authored
Fix table (#997)
1 parent 1087111 commit 40a13e9

File tree

3 files changed

+37
-49
lines changed

3 files changed

+37
-49
lines changed
Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +0,0 @@
1-
table.table.table-lg {
2-
tr {
3-
&:first-of-type {
4-
td {
5-
padding-top: 16px;
6-
}
7-
}
8-
9-
&:hover, &.active {
10-
div.table-cell-content {
11-
background: #{$gray-800};
12-
}
13-
}
14-
15-
td {
16-
vertical-align: middle;
17-
padding: 8px 0;
18-
19-
div.table-cell-content {
20-
background: #{$gray-600};
21-
padding: 20px 0;
22-
}
23-
24-
&:first-of-type {
25-
div.table-cell-content {
26-
padding-left: 67px;
27-
}
28-
}
29-
30-
&:last-of-type {
31-
div.table-cell-content {
32-
padding-right: 67px;
33-
}
34-
}
35-
}
36-
}
37-
38-
&.selectable {
39-
tbody {
40-
tr:hover {
41-
cursor: pointer;
42-
}
43-
}
44-
}
45-
}

pgml-dashboard/src/components/tables/large/row/template.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
>
88
<% for column in columns { %>
99
<td>
10-
<div class="table-cell-content">
11-
<%+ column %>
12-
</div>
10+
<%+ column %>
1311
</td>
1412
<% } %>
1513
</tr>

pgml-dashboard/src/components/tables/large/table/table.scss

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
table.table.table-lg {
2-
* {
2+
td, tr, th {
33
border-width: 0;
44
}
55

6+
border-collapse: separate;
7+
border-spacing: 0 16px;
8+
69
thead {
710
th {
811
color: #{$slate-shade-100};
@@ -16,4 +19,36 @@ table.table.table-lg {
1619
}
1720
}
1821
}
22+
23+
tbody {
24+
tr {
25+
&:hover, &.active {
26+
td {
27+
background: #{$gray-800};
28+
}
29+
}
30+
31+
td {
32+
background: #{$gray-600};
33+
vertical-align: middle;
34+
padding: 20px 0;
35+
36+
&:first-of-type {
37+
padding-left: 67px;
38+
}
39+
}
40+
}
41+
}
42+
43+
&.selectable {
44+
tbody {
45+
tr:hover {
46+
cursor: pointer;
47+
}
48+
}
49+
}
50+
51+
.table-cell-content {
52+
height: 100%;
53+
}
1954
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgresml/postgresml/commit/40a13e92b8fa6ab5547ec13152e6d45909d69800

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy