Content-Length: 368728 | pFad | http://github.com/postgresml/postgresml/pull/997/files

56 Fix table by levkk · Pull Request #997 · postgresml/postgresml · GitHub
Skip to content

Fix table #997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions pgml-dashboard/src/components/tables/large/row/row.scss
Original file line number Diff line number Diff line change
@@ -1,45 +0,0 @@
table.table.table-lg {
tr {
&:first-of-type {
td {
padding-top: 16px;
}
}

&:hover, &.active {
div.table-cell-content {
background: #{$gray-800};
}
}

td {
vertical-align: middle;
padding: 8px 0;

div.table-cell-content {
background: #{$gray-600};
padding: 20px 0;
}

&:first-of-type {
div.table-cell-content {
padding-left: 67px;
}
}

&:last-of-type {
div.table-cell-content {
padding-right: 67px;
}
}
}
}

&.selectable {
tbody {
tr:hover {
cursor: pointer;
}
}
}
}
4 changes: 1 addition & 3 deletions pgml-dashboard/src/components/tables/large/row/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
>
<% for column in columns { %>
<td>
<div class="table-cell-content">
<%+ column %>
</div>
<%+ column %>
</td>
<% } %>
</tr>
37 changes: 36 additions & 1 deletion pgml-dashboard/src/components/tables/large/table/table.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
table.table.table-lg {
* {
td, tr, th {
border-width: 0;
}

border-collapse: separate;
border-spacing: 0 16px;

thead {
th {
color: #{$slate-shade-100};
Expand All @@ -16,4 +19,36 @@ table.table.table-lg {
}
}
}

tbody {
tr {
&:hover, &.active {
td {
background: #{$gray-800};
}
}

td {
background: #{$gray-600};
vertical-align: middle;
padding: 20px 0;

&:first-of-type {
padding-left: 67px;
}
}
}
}

&.selectable {
tbody {
tr:hover {
cursor: pointer;
}
}
}

.table-cell-content {
height: 100%;
}
}








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/pull/997/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy