Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #95 from Ultimaker/Improve-tile-table
Browse files Browse the repository at this point in the history
Improve tile table
  • Loading branch information
ImreBognarUltimaker authored Nov 15, 2018
2 parents 009fadd + 90118be commit d768b9c
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions src/stylesheets/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
content: none;
}

.truncate-cell {
td.truncate-cell {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
Expand Down Expand Up @@ -127,37 +127,40 @@
}
}

.tile-list {
.tile-list__title {
@include font-size-header-2;
.tile-table {
@extend .table;
@extend .table--responsive;

padding: 3.6rem 0 0 1.2rem;
}
tr.tile-table__tile {
@extend .tile;

.tile-list__table {
@extend .table;
border: none;
}

border-collapse: separate;
border-spacing: 0 1.2rem;
td.tile-table__tile-cell {
padding: 1.8rem 0.9rem;

tr {
@extend .tile;
@include respond-to(md) {
padding: 1.8rem 1.2rem;
}

td {
padding: 1.8rem 0.9rem;

@include respond-to(md) {
padding: 1.8rem 1.2rem;
}
}

td:first-child {
&:first-child {
padding-left: 2.4rem;
}

td:last-child {
&:last-child {
padding-right: 2.4rem;
}
}

tr.tile-table__spacer {
border: none;
}

td.tile-table__spacer-cell {
border: none;
padding: 0.6rem 0;
}

}

0 comments on commit d768b9c

Please sign in to comment.