Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
#35 Table borders bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Joyce committed Jul 21, 2016
1 parent 2338787 commit 4318955
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 23 deletions.
10 changes: 5 additions & 5 deletions html/atom/table/2-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</thead>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
<td>Table Footer 1</td>
<td>Table Footer 2</td>
<td>Table Footer 3</td>
<td>Table Footer 4</td>
<td>Table Footer 5</td>
</tr>
</tfoot>
<tbody>
Expand Down
10 changes: 5 additions & 5 deletions html/atom/table/3-condensed.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</thead>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
<td>Table Footer 1</td>
<td>Table Footer 2</td>
<td>Table Footer 3</td>
<td>Table Footer 4</td>
<td>Table Footer 5</td>
</tr>
</tfoot>
<tbody>
Expand Down
10 changes: 5 additions & 5 deletions html/atom/table/4-striped.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</thead>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
<td>Table Footer 1</td>
<td>Table Footer 2</td>
<td>Table Footer 3</td>
<td>Table Footer 4</td>
<td>Table Footer 5</td>
</tr>
</tfoot>
<tbody>
Expand Down
10 changes: 5 additions & 5 deletions html/atom/table/5-bordered.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
</thead>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
<td>Table Footer 1</td>
<td>Table Footer 2</td>
<td>Table Footer 3</td>
<td>Table Footer 4</td>
<td>Table Footer 5</td>
</tr>
</tfoot>
<tbody>
Expand Down
9 changes: 6 additions & 3 deletions src/scss/mixin/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
th, td {
padding: $spacing;
vertical-align: top;
}

td {
border-top: 1px solid color(grey,light);
}

th {
vertical-align: bottom;
border-bottom: 2px solid color(grey,light);
}

caption {
Expand All @@ -23,10 +25,11 @@

thead th {
border-top: 0;
border-bottom: 2px solid color(grey,light);
}

table > tbody {
border-bottom: 1px solid color(grey,light);
tfoot td {
border-top-width: 2px;
}
}

Expand Down

0 comments on commit 4318955

Please sign in to comment.